turburator
Newcomer
- Joined
- May 1, 2009
- Messages
- 1
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
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