Slow PowerShell execution of Microsoft Exchange 2013 commands from c#

I have the following code that executes an exchange cmdlet. It works fast with command that return some output but work slow if command has no output.
for example
Invoke("Get-Mailbox")
prints following output:  
Begin execution at 11:44:43
Finish execution at 11:44:51
Output :
Administrator
Discovery Search Mailbox
Artem Romanchik
Execution time was about 8 second(6 second for loading exchange snappin + 2 seconds for command execution)
Slow example is
Invoke("Set-Mailbox -identity tema -MaxSendSize 10MB")
Begin execution at 11:53:34
Finish execution at 11:54:36
Output : 
Now it was 62 seconds(2 seconds for command and 60 seconds of waiting for something)
How can I reduce execution time of second example?
Invoke method code:
public void Invoke(string command)
var config = RunspaceConfiguration.Create();
PSSnapInException warning;
config.AddPSSnapIn("Microsoft.Exchange.Management.PowerShell.Snapin", out warning);
using(var runspace = RunspaceFactory.CreateRunspace(config))
runspace.Open();
using(var _psInstance = new RunspaceInvoke(runspace))
var psCommand = new PSCommand();
Console.WriteLine(String.Format("Begin execution at {0}", DateTime.Now.ToLongTimeString()));
var result = _psInstance.Invoke(command);
Console.WriteLine(String.Format("Finish execution at {0}", DateTime.Now.ToLongTimeString()));
var output = "";
foreach (var line in result)
if (line == null)
continue;
output += "\n" + line.BaseObject.ToString();
Console.WriteLine(String.Format("Output: {0}", output));
runspace.Close();

On 2010 and 2013 Powershell is throttled
http://technet.microsoft.com/en-us/library/dd298094(v=exchg.150).aspxyou might want to do some testing with a user that has throttling policy disabled. Also you might want to check the logs on the CAS server the request are going through eg \Microsoft\Exchange
Server\V15\Logging\CmdletInfra you should be able to determine from these if your being throttled.
Cheers
Glen

Similar Messages

  • The Windows PowerShell snap-in 'Microsoft.Exchange.Management.PowerShell.Admin' is not installed on this computer

    hi all,
    i am using Exchange server 2013.
    when i run the below code i got the following error.
    RunspaceConfiguration rsConfig = RunspaceConfiguration.Create();
    PSSnapInException snapInException = null;
    PSSnapInInfo info = rsConfig.AddPSSnapIn("Microsoft.Exchange.Management.PowerShell.Admin", out snapInException);
    Runspace myRunSpace = RunspaceFactory.CreateRunspace(rsConfig);
    myRunSpace.Open();
    Pipeline pipeLine = myRunSpace.CreatePipeline();
    Command myCommand = new Command("Get-Mailbox -ResultSize Unlimited");
    pipeLine.Commands.Add(myCommand);
    Collection<PSObject> commandResults = pipeLine.Invoke();
    Error :
    The Windows PowerShell snap-in 'Microsoft.Exchange.Management.PowerShell.Admin' is not installed on this computer.
    when i run the command  get-pssnapin
    result : 
    Name : Microsoft.PowerShell.Core
    PSVersion : 3.0
    Description : This Windows PowerShell snap-in contains cmdlets used to manage components of Windows PowerShell
    when i run below  command 
    get-pssnapin -registered
    result is:
    PS C:\Users\Administrator> get-pssnapin -registered
    Name : EnginePSSnapin
    PSVersion : 2.0
    Description : Register cmdlets for Content Engine
    Name : HostControllerPSSnapIn
    PSVersion : 2.0
    Description : Register cmdlets for Host Controller
    Name : InteractionEnginePSSnapIn
    PSVersion : 2.0
    Description : Register cmdlets for InteractionEngine
    Name : JunoPSSnapin
    PSVersion : 2.0
    Description : Register cmdlets for Juno
    Name : Microsoft.Exchange.Management.PowerShell.E2010
    PSVersion : 1.0
    Description : Admin Tasks for the Exchange Server
    Name : Microsoft.Exchange.Management.PowerShell.Setup
    PSVersion : 1.0
    Description : Setup Tasks for the Exchange Server
    Name : Microsoft.Exchange.Management.PowerShell.SnapIn
    PSVersion : 1.0
    Description : Admin Tasks for the Exchange Server
    Name : Microsoft.Exchange.Management.Powershell.Support
    PSVersion : 1.0
    Description : Support Tasks for the Exchange Server
    Name : Microsoft.Forefront.Filtering.Management.PowerShell
    PSVersion : 2.0
    Description : Microsoft Forefront Filtering PowerShell Interface
    Name : SearchCorePSSnapIn
    PSVersion : 2.0
    Description : Register cmdlets for SearchCore
    Name : WDeploySnapin3.0
    PSVersion : 2.0
    Description : This is a PowerShell snap-in that contains cmdlets for managing Microsoft Web Deployment infrastructure
    All powershell commands is installed fine .
    but still I am getting error
    The Windows PowerShell snap-in 'Microsoft.Exchange.Management.PowerShell.Admin' is not installed on this computer
     

    Hi Olaf Reitz,
    After running the command still i am getting same error,
    The Windows PowerShell snap-in 'Microsoft.Exchange.Management.PowerShell.SnapIn' is not installed on this computer
    please see below my task and i achieved so far.
    i need to get list of Users in C# from Exchange Server. for that i  created new User [[email protected]]
    in Exchange Server , then i give Full Access Permissions to that User to Access all other Mail Boxes.
    By giving below command in PowerShell  I am getting all Users List . 
    Get-Mailbox -ResultSize Unlimited
    i need the same list In C# code. for that I
    tried with below code.
     Here i got only particular user [ [email protected]] details , instead of list.
    SecureString secureString = new SecureString();
    string myPassword = "EIS2014!@#"; string username = "[email protected]";
    foreach (char c in myPassword)
    secureString.AppendChar(c);
    PSCredential ExchangeCredentials = new PSCredential(username, secureString);
    WSManConnectionInfo connectionInfo = new WSManConnectionInfo(new Uri("http://ExchangeServer.admin.com/powershell ), "http://schemas.microsoft.com/powershell/Microsoft.Exchange , ExchangeCredentials);
    Runspace runspace = System.Management.Automation.Runspaces.RunspaceFactory.CreateRunspace(connectionInfo);
    runspace.Open();
    string newCommand = "Get-Mailbox | Get-MailboxPermission";
    Pipeline cmd = runspace.CreatePipeline(newCommand);
    Collection<PSObject> results = cmd.Invoke();
    runspace.Close();
    so , i changed the code below
    RunspaceConfiguration rsConfig = RunspaceConfiguration.Create();
    PSSnapInException snapInException = null;
    PSSnapInInfo info = rsConfig.AddPSSnapIn("Microsoft.Exchange.Management.PowerShell.SnapIn", out snapInException);
    Runspace myRunSpace = RunspaceFactory.CreateRunspace(rsConfig);
    myRunSpace.Open();
    Pipeline pipeLine = myRunSpace.CreatePipeline();
    Command myCommand = new Command("Get-Mailbox -ResultSize Unlimited");
    pipeLine.Commands.Add(myCommand);
    Collection<PSObject> commandResults = pipeLine.Invoke();
    i need Users list In C# , how can i achieve this ?
    i am getting list in PowerShell , but i need it in C# code. 
    Is Visual studio Compiled code  be 64 bit for running PowerShell scripts  ? 

  • 2012 r2 -Microsoft Exchange 2013 DNS timed out

    I just installed Microsoft Exchange 2013 on my 2012 r2 server. I just installed all of the Roles &features, then I went to my fire walls and then I disabled them (temporarily). I configuring my IP addressing, DNS Ip address and a dns suffix. Now I
    can't access my Exchange via browser so I did some trouble shooting and sure enough I can't ping my DNS address. I can ping my IP address though. If anyone has any suggestions that would help then let me know. Thank you for any responses!

    Hi Dallen,
    >>Now I can't access my Exchange via browser so I did some trouble shooting and sure enough I can't ping my DNS address.
    It is not a hyper-v issue , it's more like a network problem .
    First , I would suggest you to disable firewall in DNS server for troubleshotting .
    If firewall is truned off then you still can not ping the DNS server , you may check if the exchange server can ping other IP address in your LAN to check network conectivity .
    If they are in different subnet ,you may try to check the configuration of the router .
    Any further information please feel free to let us know .
    BestRegards
    Elton Ji
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Chat feature for Microsoft Exchange 2013

    Hi Good day,
    is there any way to have a simple chat feature service for exchange 2013? im looking for some solutions but only Exchange 2000 has this common feature. I just need to have a simple chat service for our internal and branch offices

    Hi,
    There is no feature in Exchange server 2013 to meet your requirement. But we can use Microsoft Lync to chat with your domain environment. Microsoft Lync is an enterprise-ready unified communications platform.
    By integrating Lync Server and Exchange Server, we can also chat directly in OWA. For more information about it, we can refer to:
    http://office.microsoft.com/en-001/lync/lync-server-2013-features-video-conferencing-and-instant-messaging-FX103789592.aspx
    If you don’t want to deploy a Lync server in your environment, we can also use
    Skype with a Microsoft account or Skype account to chat with others.
    Thanks,
    Winnie Liang
    TechNet Community Support

  • Microsoft Exchange 2013 eDiscovery - specific search query: looking for specific hyperlinks within e-mails content/body

    Dear all:
    I am currently using the MS Exchange 2013 eDiscovery feature with the objective to identify which of my users have received emails containing specific hyperlinks (e.g. http://website1/webroot/file.zip, http://website2/webroot/file.zip, etc.) from an unknown
    sender.
    To this end, I have been creating an eDiscovery on-hold case looking for a specific search criteria in all mailboxes.
    As the search criteria, I have tried many options but was unable to obtain satisfying results: I know I am missing some e-mails from this specific search (I checked manually). I have notably tried the following search queries (with and without the body:
    search operator, with and without double quotes, etc.)
    body:http://website1/* OR body:http://website2/*
    body:"http://website1/*" OR body:"http://website2/*"
    body:"website1*" OR body:"website2*"
    body:"*website1*" OR body:"*website2*"
    When replaying these queries on my local Outlook client, everything works fine and I get results as expected.
    However, when going through the ECP eDiscovery feature, I am missing some results.
    Therefore, I am looking for any advice on what Exchange eDiscovery KQL query I should use to identify all emails containing, in their message body, a list of specific hyperlinks/URLs.
    Many thanks in advance for your help.
    S.

    Alas I do not know the answer to resolution via ECP and like you I have found it to be a bit maddening to use ECP for discovery tests Ive done when comparing results with our DigiScope product.  I know we can accomplish what your looking to do via Regular
    Expression but again that's with a 3rd party tool. 
    One thought is I suppose it could be an indexing issue with the DB, so perhaps rebuilding the index would help?
    If you do get it working I would love to know the resolution since many of my tests with ECP have left me yelling at the screen.  When its works its cool when not well...
    Search, Recover, & Extract Mailboxes, Folders, & Email Items from Offline Exchange Mailbox and Public Folder EDB's and Live Exchange Servers or Import/Migrate direct from Offline EDB to Any Production Exchange Server, even cross version i.e. 2003
    --> 2007 --> 2010 --> 2013 with Lucid8's
    DigiScope

  • Livecycle ES4 and Microsoft Exchange 2013

    Hi,
    My customer inquired me of configuring LiveCycle ES4 with Microsoft Exhange 2013 but supported documentation says that LiveCycle only supports Microsoft Exhange 2010 and earlier. ¿Could be posible LiveCycle ES4 SP1 either supports Microsoft Exhange 2013 or configure an account in Microsoft Exhange 2013 for configuring in Livecycle without getting on troubles?
    Thanks in advance.

    MS Office 2013 is also not supported with ES4 SP1.
    Here is the link to updated documentation - http://helpx.adobe.com/livecycle/help/livecycle-es4-supported-platforms.html#Software support for PDF Generator
    Regards,
    Varun

  • Changing AD Domain name with Microsoft Exchange 2013

    Hello everyone,
    we need to change our Active Directory Domain name from .local to another naming convention.
    We are running a Windows Server 2012 R2 environment with Exchange 2013.
    - Domain Controller 
    - File Server
    - Exchange 2013
    Running on a VMware ESX Host.
    What is the applied way to change the Domain name? Or is there no way to change in the running Forest and we have to re-setup everything?
    Thank you for your answers.
    Regards,
    Sebastian

    Hello,
    You need install new Exchange server in your new enviroment (forest).
    Please read this link:
    Prepare mailboxes for cross-forest moves using the Prepare-MoveRequest.ps1 script in the Shell
    Other nice article:
    Moving to a new forest and retaining the same SMTP domain ( with native scripts ) -
    Part I
    Regards

  • Remote managment Exchange 2013 SP1 from C# code using Power-Shell.

    Hello,
    Sorry if I am describing something wrong, but it is first time I am using Microsoft development forum.
    I am trying to built library that will manage Exchange remotely using  C# code (VS 2012) and Power-Shell ver.4.0. My workstation and the actual Exchange server physically placed in different domains. In order to test functionalities I am using
    user that is member of all administrating and management groups in the appropriative domain. Remote Power-Shell is enabled on Exchange.
    In order to connect to the Service I am using that part of code :
    internal static bool RedirectionUrlValidationCallback(string redirectionUrl)
    bool result = false;
    var redirectionUri = new Uri(redirectionUrl);
    if (redirectionUri.Scheme.Equals("https"))
    result = true;
    return result;
    internal static ExchangeService ConnectToService(ExchangeVersion version,
    string userName,
    string emailAddress,
    string password,
    string domainName,
    ref Uri autodiscoverUrl)
    ExchangeService service;
    try
    service = new ExchangeService(version);
    service.Credentials = new WebCredentials(userName, password, domainName);
    if (autodiscoverUrl.IsNull())
    var ads = new AutodiscoverService();
    // Enable tracing.
    ads.TraceEnabled = true;
    // Set the credentials.
    ads.Credentials = service.Credentials;
    // Prevent the AutodiscoverService from looking in the local Active Directory
    // for the Exchange Web Services Services SCP.
    ads.EnableScpLookup = false;
    // Specify a redirection URL validation
    //callback that returns true for valid URLs.
    ads.RedirectionUrlValidationCallback = RedirectionUrlValidationCallback;
    // Get the Exchange Web Services URL for the user’s mailbox.
    var response = ads.GetUserSettings(emailAddress, UserSettingName.InternalEwsUrl);
    // Extract the Exchange Web Services URL from the response.
    autodiscoverUrl = new Uri(response.Settings[UserSettingName.InternalEwsUrl].ToString());
    // Update Service Url
    service.Url = autodiscoverUrl;
    else
    service.Url = autodiscoverUrl;
    catch (FormatException fe) // The user principal name(email) is in a bad format. UPN format is needed.
    LoggingFactory.LogException(fe);
    return null;
    catch (AutodiscoverLocalException ale)
    LoggingFactory.LogException(ale);
    return null;
    catch (Exception e)
    LoggingFactory.LogException(e);
    return null;
    return service;
    Then I am trying to reach existing mailbox of that user, using this part of code :
    try
    var runSpace = getRunspace();
    var pwShell = PowerShell.Create();
    pwShell.Runspace = runSpace;
    var command = new PSCommand();
    command.AddCommand("Get-Mailbox");
    command.AddParameter("Identity", userPrincipalName);
    command.AddParameter("RecipientTypeDetails", recipientType);
    pwShell.Commands = command;
    var result = pwShell.Invoke();
    if (result.IsNotNull() && result.Any())
    // TODO : fill appropriative DTO and return it.
    else
    // TODO : send back appropriative error.
    closeRunSpace(runSpace);
    catch (Exception e)
    // TODO : log the exception and send back appropriative error.
    private Runspace getRunspace()
    var runSpaceConfig = RunspaceConfiguration.Create();
    var runSpace = RunspaceFactory.CreateRunspace(runSpaceConfig);
    PSSnapInException snapEx;
    var psInfo = runSpaceConfig.AddPSSnapIn("Microsoft.Exchange.Management.PowerShell.E2010", out snapEx);
    runSpace.Open();
    return runSpace;
    private void closeRunSpace(Runspace runSpace)
    runSpace.Close();
    runSpace.Dispose();
    With this part I had problem. I received exception that appropriative Snap-in is not installed on my computer. I had no installation disk of Exchange in order to install Management Tool (as I understand this is the way to add needed part) so I changed run
    space activation to that part of code :
    private Runspace getRunspace()
    var newCredentials = (PSCredential)null;
    var connectionInfo = new WSManConnectionInfo(new Uri("http://exchange.domainname.local/powershell?serializationLevel=Full"),
    "http://schemas.microsoft.com/powershell/Microsoft.Exchange",
    newCredentials);
    connectionInfo.AuthenticationMechanism = AuthenticationMechanism.Kerberos;
    var runSpace = RunspaceFactory.CreateRunspace(connectionInfo);
    runSpace.Open();
    return runSpace;
    Now I am receiving exception :
    "Connecting to remote server exchange.domainname.local failed with the following error message :
    [ClientAccessServer=exchange,BackEndServer=exchange.domainname.local,RequestId=....,TimeStamp=...]
    Access is denied. For more information, see the about_Remote_Troubleshooting Help topic."
    Please help me to understand what I am doing wrong.
    Thank you.
    Alexander.

    In Exchange 2010 you should be using Remote Powershell not local powershell and the snap-in.  Here is a sample that may help you:
    http://blogs.msdn.com/b/dvespa/archive/2009/10/22/how-to-call-exchange-2010-cmdlet-s-using-remote-powershell-in-code.aspx

  • Outlook clients cannot connect Exchange 2013 cutover from 2010

    Hello,
    My company has been running an Exchange 2013/2010 coexistence. Currently, Exch 2013 (2mbx and 1 CAS) utilizes "mail2.domain.com" for the name space. Exch 2010 (1MBX 1 CAS) uses "mail.domain.com"
    We recently attempted to cutover external and internal DNS to point "mail.domain.com" and "autodiscover.domain.com" to the Exch 2013 server. 
    We changed all virtual directories on 2013 to use "https://mail.domain.com/owa" (ECP, EWS, etc. were changed too) for the internal and external URL. The Exch 2010 virtual directories internal URL are set to "https://internalFQDN.domain.com/owa"
    the external URLs are $null
    Both CAS servers were setup to use Outlook Anywhere since this is how 2013 proxies to 2010. The internal URLs for both were set to "mail.domain.com" IIS authentication Methods (Basic, NTLM). ClientAuthenicsationMethod: NTLM.
    For both servers the autodiscoverserviceinternaluri was set to: https://autodiscover.domain.com/autodiscover/autodiscover.xml
    The 2013 server has two SSL certificates installed. One is a wildcard cert for "*.domain.com" and the other includes our SANs (mail.domain.com, mail2.domain.com, webmail.domain.com, autodiscover.domain.com) it also includes the FQDN for the 2010
    and 2013 CAS servers.
    I'm speaking in the past tense because we had to roll back. The problem was no Outlook user could connect. This goes for mailboxes hosted on the Exchange 2013 and 2010 servers. The error was: "Cannot
    open your default e-mail folder" to "The connection to Microsoft Exchange is unavailable. Outlook must be online or connected to complete".
    Everything else worked fine during the cutover. OWA 2013 login page proxied 2010 logins properly, Outlook 2011 could connect with EWS fine, Active-Sync worked without issues too.
    It was only the Outlook 2010 and 2013 clients that could not connect.
    We rolled back and everything is working as it was before with the separate namespace. That leads me to think it's something with Outlook Anywhere (RPC/HTTPS)
    but the settings seem correct unless I'm missing something. Any help is appreciated.
    Thanks!

    Hard to say. I've had to change the router to point to the old server as mail wasnt getting in. But OWA did seem ok, although I couldn't send messages... I could only see the inbox and contacts etc.

  • Accessing Exchange 2013 Mailboxes from Terminal Server hosted on Server 2003 Std - Cert Issues

    We are in the midst of deploying an Exchange 2013 SP1 CU5 environment and have run into some issues.  Currently there is a good coexistence between a single Exchange 2007 server and the 5 2013 servers.  Mail is flowing through 2013 and then being
    relayed to 2007 when necessary.  
    We have a number of Server 2003 Terminal Servers.  On two separate machines, both running the lastest rollups of Outlook 2010, any user with a 2013 mailbox receives a password prompt after launching Outlook.  It is trying to connect to one of the
    two CAS, fills in the user's account, and will not accept any password.  In addition, a window pops up behind stating "There is a problem with the proxy server's security certificate.  the name on the security certificate is invalid or does
    not match the name of the target site mail.pvschemicals.com.  Outlook is unable to connect to the proxy server.  (error code 0)."  2007 mailboxes are not affected.
    We have checked pretty much everything that we can think of.  Virtual Directories are good, certificate is good, etc.  The strange thing is that only happens on 2003 TS machines, so I have to think that it's related.  Our 2008 TS' are just
    find.
    We have applied the 2003 SHA2 certificate hotfix. 

    Hi,
    According to your description, the configurations of Outlook Anywhere are proper. And based on my research, the issue can be related to the version of the terminal server 2003. Thus, please check if your terminal 2003 server is 2003 R2 SP2 or later.
    For more information, you can refer to the following thread:
    http://social.technet.microsoft.com/Forums/exchange/en-US/295bf2bc-584b-4de2-85fb-94096fac52e7/outlook-connectivity-problem-on-2003-term-server-exchange-2013?forum=exchangesvrclients
    Thanks,
    If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Angela Shi
    TechNet Community Support

  • How do I delete an old Microsoft exchange email account from my phone without it automatically deleting many of my contacts?

    I have an old Microsoft Exchange Email Account on my phone that I no longer use. I never synced my contacts with this email account. Yet, if I delete it, it destroys my contacts. Do I just need to have this email account permanently on my phone? It's really annoying and I want to get rid of it, but have no idea what to do. Thanks!

    If you updated your existing account then try logging out of it on the iPhone by tapping on the id in Settings > Store and then log back in and see if that 'refreshes' the account on it.
    If you created a new account then any content that you purchased/downloaded via the old account will remain tied to that old account, and only that old account can download updates to its apps - you should be able to logout of the old account via Settings > Store and log in with you new account for new purchases.

  • Exchange 2013 upgrade from 2010 and no mail flow and cannot move mailboxes

    I am in the process of moving to Ex 2013 from 2010. I have installed Ex 2013 SP1 on a new server 2012 R2. All of my Ex 2010 servers are SP3 RU 5. Ex 2013 is running and I can connect through the EAC and see all other Exchange servers and connectors that
    were already in existence. Several puzzling things are happening now that the servers are in coexistence:
    1) As soon as Ex 2013 was installed on the network, many Outlook users are continuously being prompted to enter their domain credentials.  They can cancel the prompt and Outlook still sends/receives email.  No user mailboxes are on Ex 2013 yet. 
    Why is this happening?
    2) I am following the Ex 2013 Deployment Assistant and I get to the step to move the Ex 2010 Arbitration mailbox to Ex 2013 and the move does not happen--it just says "syncing" and never completes.  I tried moving a test mailbox from Ex 2010
    to the 2013 database and I get the same result.  I created the move request on the Ex2013 server and I see it as queued on the Ex2010 server, so I know they are "talking" to each other.  However, when reviewing the status of the move I
    see "MapiExceptionNoAccess: Unable to open message store".
    3) There seems to be no mail flow on the same Ex2013 server or between the Ex 2010 and 2013 servers.  I created two new test user mailboxes in Ex 2013.  The Ex2013 mailboxes cannot send/receive to each other or to Ex 2010 users.  This
    seems strange, unless I am completely missing something in the Ex 2013 install?
    I know this is a lot in one post, but following the Deployment assistant, I was hoping this would be something that others have faced.  Thanks for any input here.

    Does the below points already fit for you.
    Exchange 2013 Supported with the following minimum versions of Exchange:
    1) Exchange*** 2010 SP3 on all Exchange 2010 servers in the organization, including Edge Transport servers.
    2) Exchange 2013 CU2 or later on all Exchange 2013 servers in the organization.
    *** If you want to create an EdgeSync Subscription between an Exchange 2010 Hub Transport server and an Exchange 2013 SP1 Edge Transport
    server, you need to install Exchange 2010 SP3 Update Rollup 5 or later on the Exchange 2010 Hub Transport server.
    Thanks Prem P Rana MCSA Messaging 2003 MCSE 2003 Server MCTS MCITP Exchange 2007, 2010 Gurgaon, India http://blogs.msexchange-experts.com

  • Server 2012 and Exchange 2013 Migration from SBS 2011

    Server UpgradeI'm migrating an SBS 2011 server to a new machine with Server 2012 R2 and a Hyper-V server running Exchange 2013. I've set up the new machine, all is running well in a test environment. I now want to migrate the old server to new. These are the steps I'm going to take and I wanted advice for any modifications or errors. 1. Demote DC on Server 2012 that I set up to test. 2. Join new Server 2012 to existing SBS 2011 domain. 3. Promote Server 2012 to DC. 4. Join the Hyper-V Server 2012 to the Server 2012 domain.5. Migrate Exchange 2010 on the SBS 2011 Server to Exchange 2013. 6. Transfer FSMO role from SBS 2011 Server to Server 2012 DC. I'll copy shared data files using robocopy.The only things I'm not sure about is the FSMO order, when to do that and the fact that I already have Exchange 2013 installed in the test...
    This topic first appeared in the Spiceworks Community

    I recently acquired a SuperMicro chassis that has a SAS2 expander backplane. It has SFF-8087 ports on it.http://www.supermicro.com/manuals/other/BPN-SAS2-846EL.pdfI made a post on another forum and someone mentioned that the card couldn't be used with that backplane since it's a SATA controller, however, the backplane is both SAS and SATA device compliant, it's only the RAID controller, as far as I know, that is a "SATA II" controller, and not a SAS controller.So, I couldn't find anything in the official documentation of this controller on whether or not it was able to control SAS devices. The card itself has a 3 SFF-8087 ports though, couldn't this theoretically still be used with a SFF-8087 to SFF-8087 cable(seen below)since the backplane is a SAS/SATA backplane?...

  • Exchange 2013 Update from SP1 to CU5 failed

    Hello, guys!
    I need your help. I've just tried to make an update my Exchange Server with CU5 and get an error:
    "$error.Clear(); 
              Uninstall-CrimsonManifest -DefinitionXml "bin\ActiveMonitoringEvents.man";
              Install-CrimsonManifest `
                -DefinitionXml "bin\ActiveMonitoringEvents.man" `
                -MessageDll "bin\ActiveMonitoringEventMsg.dll" `
                -ProviderName "Microsoft-Exchange-ActiveMonitoring"
    The following error occurred: "System.InvalidOperationException:
    Failed to perform event manifest action (manifest =
    C:\Program Files\Microsoft\Exchange Server\V15\bin\ActiveMonitoringEvents.man, event = install-manifest,
    exitcode  
    = 5, errors = The publishers and channels are installed successfully. However, we can't enable one or more publishers and channels. Access is denied.
       in Microsoft.Exchange.Configuration.Tasks.Task.WriteError(Exception exception, ErrorCategory
    category, Object target, Boolean reThrow, String helpUrl)
       in Microsoft.Exchange.Configuration.Tasks.Task.WriteError(Exception exception, ErrorCategory
    category, Object target)
       in Microsoft.Exchange.Management.SystemConfigurationTasks.InstallCrimsonManifest.InternalProcessRecord()
       in Microsoft.Exchange.Configuration.Tasks.Task.<ProcessRecord>b__b()
       in Microsoft.Exchange.Configuration.Tasks.Task.InvokeRetryableFunc(String funcName, Action func,
    Boolean terminatePipelineIfFailed)".
    Help me, please!!!
    What should i do to resolve this problem???

    Hi,
    This issue occurs if any of the following conditions are true:
    The built-in security group “NT Service\Eventlog”  does not have permissions on the folder %SystemRoot%\System32\winevt\Logs.
    The built-in security group “NT Service\Eventlog”  does not have permissions on the registries and its sub keys,  
                             HKLM\Software\Microsoft\Windows\CurrentVersion\Reliability Analysis
                             HKLM\System\CurrentControlSet\Control\WMI\Autologger\EventLog-Application\
    To solve this issue, please take the following steps to give requires permissions on the log folders and registry
    Step 1:
    Restore the default permissions on %SystemRoot%\System32\winevt\logs.
    Authenticated user - List folder/read data, Read attributes, Read Extended attributes, Read permissions
    Administrators - Full control
    SYSTEM - Full control
    EventLog - Full control
    To restore the default permissions on folder %SystemRoot%\System32\winevt\logs, follow these steps.
    Right-click on %SystemRoot%\System32\winevt\logs and select Properties.
    Select the Security tab.
    Click Edit button and click the Add button in the permissions dialog box.
    In Select users, computers, or Groups dialog box ensure that under object types Built in Security Principals and the location as local computer name is selected.
    Enter the object name as "NT SERVICE\EventLog" without quotes. And click
    OK. This group should have full control on the folder.
    Once EventLog group is added add the rest of the groups with above mentioned permissions.
    Step 2:
    Provide the permission to registry,
    Open Registry Editor
    Locate
    HKLM\Software\Microsoft\Windows\CurrentVersion\Reliability Analysis, Right-click it and Select
    Permissions...
    Checked whether you have Eventlog group. If not, add “NT Service\Eventlog”, then give Full Control, then click OK.
    Locate HKLM\System\CurrentControlSet\Control\WMI\Autologger\EventLog-Application\, right-click and Select
    Permissions...
    Repeat same in the No.3 step.
    Note: Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number
    to view the article in the Microsoft Knowledge Base:
    256986 Description of the Microsoft Windows Registry
    Best Regards.

  • Exchange 2013 Migration from 2010 Test (Shared split DNS)

    Hi
    Im testing a migration from Exchange 2010 to 2013. I have tried to run a single DNS name to both servers, so externally mail.test.com resolves to the external IP and that NAT's to the new Exchange 2013. Then internally mail.test.com resolves both to EXC13
    and EXC10 ip adresses (Round Robin).
    I have moved some mailboxes to 2013. If the IP resolves to the new Exchange and i try to login to a mailbox on the old server i get redirected as im supposed to. If the IP resolves to the old Exchange and i try to login with a mailbox on the new server i
    get:
    A server configuration change is temporarily preventing access to your account. Please close all Web browser windows and try again in a few minutes. If the problem continues, contact your helpdesk.
    Should this be possible, or do i need to change the intarnal URL on all virtual directories on the old server to the local netbios name or what to do?

    You should never use the server name in any of the URLs.  You should use either a CNAME or a load-balanced VIP with a generic name like mail.company.com or webmail.company.com.  Then you just point this name to the new server.  If
    you're currently using a server name, it's about time to change that first before trying to switch to Exchange 2013.
    Curently im using a generic name, mail.test.com. But that's just a normal A record on the internal DNS. So i cannot use that on both?

Maybe you are looking for

  • Open and Closing of Posting Periods in FI

    Is it possible to open/close periods in FI per account? I'm using SAP ECC 6.0 Moderator: Please, avoid asking basic questions

  • Extra Hard Drive

    I am running a Mac Mini and have used Boot Camp to load both Mac OSX and Windowa XP. They work fine , each with about 30 GB of Hard Drive. I now want to expand the Hard Drive capacity , equally for both Operating Systems. I have a free-standing 120 G

  • IPhoto 6 - STILL freezing on a Dual G5 with 370 images

    What is it with iPhoto?! I've paid for another upgrade after promises of finally sorting out the sluggishness. Yet, with a library of only 370 images, each not bigger than 2MB, I can STILL only scroll through half of the thumbnails before the beachba

  • I can, connect my ipad to get mail

    I can't configure my ipad to work with yahoo mail

  • Flash Media Administration Console Login Problems

    Hi, I have Flash Media 4.5.  I stupidly lost the piece of paper i wrote my  password for the Flash Media Administration Console. Is there anyway i can retrieve the password?