# Execute PS on XP Workstations with PowerShell

**URL:** <https://forums.powershell.org/t/execute-ps-on-xp-workstations-with-powershell/128>\
**Category:** PowerShell Help\
**Created:** [December 31, 2011, 6:30pm UTC](https://forums.powershell.org/t/execute-ps-on-xp-workstations-with-powershell/128 "2011-12-31T18:30:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![archives](https://avatars.discourse-cdn.com/v4/letter/a/bb73d2/32.png) [@archives](https://forums.powershell.org/u/archives)\
**Post date:** [December 31, 2011, 6:30pm UTC](https://forums.powershell.org/t/execute-ps-on-xp-workstations-with-powershell/128/1 "2011-12-31T18:30:00Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![dotnVo](https://avatars.discourse-cdn.com/v4/letter/d/4af34b/32.png) [@dotnVo](https://forums.powershell.org/u/dotnVo)\
**Post date:** [May 16, 2024, 9:02pm UTC](https://forums.powershell.org/t/execute-ps-on-xp-workstations-with-powershell/128/2 "2024-05-16T21:02:25Z")

</div>

Closed on May 16, 2024, 9:02pm UTC


