Link to home
Start Free TrialLog in
Avatar of unrealone1
unrealone1Flag for United Kingdom of Great Britain and Northern Ireland

asked on

Remote Exchange powershell-ing

Experts,

I have an old server 2003 I need to export some PST's from.

I have a 32 bit XP machine with outlook installed which I need to run the scripts from.

I am having issues with connecting up from this dummy machine to the server to execute the commands from through exchange or windows powershell. I haven't needed to do powershell, let alone remote powershell on EOL OS's.

Any help appreciated.
Avatar of Ernie Beek
Ernie Beek
Flag of Netherlands image

And an RDP session to the server and from there run powershell?
Avatar of unrealone1

ASKER

Hi Ernie,

No, I need to run powershell from this dummy machine. With Exchange 2007 to use get-mailbox or export-mailbox I need to run the commands from a 32 bit machine with outlook 2003 or later installed. Of course the server is running 64bit OS.

So what I need is for someone to let me know how I can connect up with remote powershell.
SOLUTION
Avatar of Ernie Beek
Ernie Beek
Flag of Netherlands image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Fell at the first hurdle.

On the exchange from both exchange poweshell and windows it's saying it doesn't recognise it as a cmdlet.
what powershell version?
What version of powershell are you using?

->  $PSVersionTable
It's not liking the NewPSSession part of it. It's saying it is not a recognized cmdlet.
When I run that command Ernie, nothing comes up as a result?
You run it within powershell I assume?
And without the ->
maybe try
$host
I need some more coffee.....
Not getting any result means you are running an old version (too old).

So first lets get a newer version: http://www.microsoft.com/en-us/download/details.aspx?id=42554
Ha funny thing, for some reason this server cannot access some websites. The download site for powershell is one of them. But I have managed to do $host as suggested by Martin. see image below -User generated image
Let me see if I can do some fun file transfer
Hi Ernie, in the downloads list all I see are .pdf's?
Dummy machine having issues with trying to open MSU files.
Rrrrrrr, XP can't cope with msu files.
Try this one: https://www.microsoft.com/en-us/download/details.aspx?id=16818
I will try it on the dummy XP machine but I tried to run these on the server but it's saying that these updates do not apply to this system.
Correct, this one is specific for XP.

Try this one for the server: https://www.microsoft.com/en-us/download/details.aspx?id=4045

It seems I was a bit too enthousiastic with powershell 4.0 .......
More issues with trying to get it on the server. trying to run the patch and it's saying there isn't enough space to do this command but there is 10 GB or so left on the server and an idle of 3.8Gb out of 4GB on RAM. Cutting it fine I know.
And you are running 2003 (SP something) on the server?
I know this could happen when running it on a 2008 server....
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial