Execute PS on XP Workstations with PowerShell

This topic contains 0 replies, has 1 voice, and was last updated by Profile photo of Forums Archives Forums Archives 5 years, 4 months ago.

  • Author
    Posts
  • #5073

    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.

You must be logged in to reply to this topic.