header1   header
header
header Register : : Login header
header
connector   connector
menuleft menuright
submenu   submenu
left
Remoting with Powershell 2.0
Last Post 02 Dec 2009 11:43 AM by Ayth. 0 Replies.
Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
AythUser is Offline
Basic Member
Basic Member
Posts:232
Avatar

--
02 Dec 2009 11:43 AM
    Hello,

    I posted some time ago asking about Powershell 2.0's remoting capabilities and Exchange 2007, and we discovered it was possible. However, I'm attempting it now and am running into issues. Basically I'm trying to run the following:

    Invoke-Command {Add-PSSession ; Get-Mailbox -identity dhenshaw} -session (New-Pssession myexchange.mydomain.local)

    However it generates the below error:

    An Active Directory error 0x80072020 occurred while searching for domain controllers in domain Ignition.bm: An operatio
    ns error occurred.
        + CategoryInfo          : NotSpecified: (0:Int32) [Get-Mailbox], ADTransientException
        + FullyQualifiedErrorId : 4D18720A,Microsoft.Exchange.Management.RecipientTasks.GetMailbox


    The error stays even if I specify the -domaincontroller parameter of Get-Mailbox. Any ideas? This has me stumped. Thanks.
    My Blog about Powershell http://poweroftheshell.blogspot.com/ Follow me on twitter @darrinhenshaw
    You are not authorized to post a reply.


    Active Forums 4.3
    right
    footer   footer
    footer Sponsored by Quest Software • SAPIEN Technologies • Compellent • Microsoft Windows Server 2008 R2 footer
    footer   footer