Exchange 2007 Sp2 - Powershell 2.0 Remoting
Is PS remoting supported with Exchange cmdlets? I have been struggling with executing Exchnage cmdlets from a remote PS session. The cmdlets (such as get-exchangeadministrator, get-exchangeserver), are complaining about not being able to find DCs in the domain. All cmdlets executes fine on the exchange servers. I have also tried credssp as I thought this might be related to double hop delegation. Anyone had any experience with PS remoting against Exchange 2007 cmdlets? The only information I could locate so far is at http://www.howexchangeworks.com/2009/11/exchange-2007-sp2-supports-powershell.html.Is this true? Thank you in advance...
November 26th, 2009 6:13am
Per my research, you can use the remote PowerShell for exchange 2007 SP2 management. The requirement is:
Any previous WinRM and PowerShell must be removed before install the new versions
WinRM 1.1 and PowerShell v2 must be installed on both exchange server and client
Notes: Yet, theres no official article to clear the remote PowerShell for exchange 2007 SP2. So,please test it in the lab first
Resources:
Uninstall Previous Versions of Windows PowerShell and Windows Remote Management
Installing Windows PowerShell V2 (CTP)
Connecting to a remote Exchange 2010 Organization using Remote PowerShellJames Luo TechNet Subscriber Support (http://technet.microsoft.com/en-us/subscriptions/ms788697.aspx) If you have any feedback on our support, please contact tngfb@microsoft.com
Free Windows Admin Tool Kit Click here and download it now
November 26th, 2009 10:15am
Per my research, you can use the remote PowerShell for exchange 2007 SP2 management. The requirement is:
·
Any previous WinRM and PowerShell must be removed before install the new versions
·
WinRM 1.1 and PowerShell v2 must be installed on both exchange server and client
Notes
: Yet, there’s no official article to clear the remote PowerShell for exchange 2007 SP2. So, please test it in the lab first
Resources
:
Uninstall Previous Versions of Windows
PowerShell and Windows Remote Management
Installing Windows PowerShell V2 (CTP)
Connecting to
a remote Exchange 2010 Organization using Remote PowerShell
James Luo
TechNet Subscriber Support (http://technet.microsoft.com/en-us/subscriptions/ms788697.aspx)
If you have any feedback on our support, please contact tngfb@microsoft.com
has someone ever actually succeeded in managing an Exchange 2007 server via PowerShell 2.0 Remoting?
every attempt i tried failed so far.
July 21st, 2010 1:45pm
MR Tom Tom 1234,
See
With Exchange 2007 you have to execute the cmdlets locally on the machine where the code is running from that means that machine needs to exist is a security context that will allow you run the Exchange Management Shell eg installed as per
http://technet.microsoft.com/en-us/library/bb232090%28EXCHG.80%29.aspx. If there is no Trust between the domains your machine is in and Exchange Server and you can't logon onto the machine where the code is running with
a user that has been deletegated Exchange Administration rights then your code wont work with 2007 because there is no ability to specify alternate credentials in the EMS. You need to have the code running from a machine where the secruity context is availible.
Another option if this isn't possible for you is that the log files themselves are plain text so you can parse the directly eg using something like Logparser the problem is that these files can be very large so its not something unless your log
files are small that you want to attempt over a network.
By
Path Finder..
Free Windows Admin Tool Kit Click here and download it now
January 22nd, 2011 12:36am
MR Tom Tom 1234,
See
With Exchange 2007 you have to execute the cmdlets locally on the machine where the code is running from that means that machine needs to exist is a security context that will allow you run the Exchange Management Shell eg installed as per
http://technet.microsoft.com/en-us/library/bb232090%28EXCHG.80%29.aspx. If there is no Trust between the domains your machine is in and Exchange Server and you can't logon onto the machine where the code is running with
a user that has been deletegated Exchange Administration rights then your code wont work with 2007 because there is no ability to specify alternate credentials in the EMS. You need to have the code running from a machine where the secruity context is availible.
Another option if this isn't possible for you is that the log files themselves are plain text so you can parse the directly eg using something like Logparser the problem is that these files can be very large so its not something unless your log
files are small that you want to attempt over a network.
By
Path Finder..
January 22nd, 2011 8:31am
Hi,
I have a working solution which works only with powershell, winrm and impersonation. If you are interested drop me a note at maeffy@gmail.com.
rgds
Maeffy
Free Windows Admin Tool Kit Click here and download it now
February 10th, 2011 2:51pm
I have send a mail to you. please repley me. This is my mail ID.(Pelayaraja1@gmail.com) By A path finder Jo Swa
February 14th, 2011 12:35pm
I have send a mail to you. please repley me. This is my mail ID.(Pelayaraja1@gmail.com) By A path finder Jo Swa
Free Windows Admin Tool Kit Click here and download it now
February 14th, 2011 8:25pm
Hi,
look @ http://peerfect.blogspot.com/
rgds,
Maeffy
February 16th, 2011 7:34am