Remote Powershell on Exchange with computer in different domains.

rated by 0 users
This post has 3 Replies | 2 Followers

Top 150 Contributor
Posts 8
OlivierR Posted: 12-23-2010 2:51 AM

Hi,

I have an exchange server (2007) that I wish to run powershell cmdlets against. However this exchange server is in a different domain.

I have set up a trust, and can now execute remote powershell cmdlets on it. However, I can't run any Exchange Powershell cmdlets. 

I need this to work in a vb.net environment, but at the moment making it work in the shell command line would be a great step forward.

 

Thank you for your help.

Top 10 Contributor
Posts 260
Microsoft MVP
Top Contributor

Can't you just remote into the other Exchange server specifying relevant domain credentials for the other domain, then just load the relevant Exchance cmdlets?

Top 150 Contributor
Posts 8

Hi, thanks for your reply but this would not have solved my issue.

 

However after setting all permissions in the trust this seems to work now the way I needed. 

Top 10 Contributor
Posts 260
Microsoft MVP
Top Contributor

OK - domain trusts can also be an issue! Sometimes, without more information, it's hard to tell what the problem is.

This goes to show that whilst you may 'see' the probelm via PowerShell, the cause can often be down below at the lower levels in the stack! Authentication is all too often a challenge in multi-domain scenairos.

Really glad you got the problem resolved.

 

Thomas

Page 1 of 1 (4 items) | RSS
Concentrated Tech NSoftware Dell Compellent Sponsored by Idera and Concentrated Tech and NSoftware and Dell Compellent
Copyright 2011 PowerShell.com. All rights reserved.