Execute PS on XP Workstations with PowerShell

by aubrytj at 2012-09-04 15:12:38

Have a great PS that will do just about everything we need from removing LMShosts from being enabled to looking at all the nic’s and changing their power saving settings - yet all works find on WIN7(PS is default of being installed) - its the 6000 or more XP workstations that we need to embark on…

Our Business department is frounding on the installation of PS on those XP workstations at this time - so we would like to be sure if their is not another way around it…

Our goal: use a GPO at startup to use the PS script on the XP workstations - the script resides on a Win8R2 - shared folder - all without installing PS on the XP workstations.

What we have come up with:
- well the script most important.
- all workstations have .net 4.0 and if needed will have .net 2.0
- Client side extensions installed - well that is of course for ADX side of the house…

We were looking at PS2EXE, or PSEXEC or someting like that - yet unable to figure out how it works via GPO and non-Powershell workstations…our delima of course…

Please if anyone has any ideas - suggestions - we gladly appreciate it…

Thanking all in advance…

signed - gpo_ps_exe_XP
by DonJ at 2012-09-04 15:15:54
If you want to run a PowerShell script on the machine, PowerShell absolutely positively has to be installed. That includes login scripts.

PS2EXE still requires that PowerShell be installed. It’s just a wrapper to make the script run - it doesn’t “compile” the script into a native binary executable.

Sorry, no other way around it. They can frown all they want, but you can’t run PS scripts without PS.