turburator Posted May 1, 2009 Posted May 1, 2009 Hi, My first post in this forum. My question is simple. I have an asp.net website running on server A and exchange server running on server B. I want to execute Powershell commands like "Get-mailbox" on server B remotely from server A. I know how to use Runspace and Pipeline locally but I am not able to find an appropriate solution to execute these commands on remote server (Server B in my case). Can anyone please point me to the right directory with some sample code or so ? (I believe impersonation may be the solution but being novice I'm not able to proceed further). Regards, John Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.