Convert PowerShell 2.0 script to run on PS 1.0 server
Posted on 2012-04-06
I wrote a script for a client last year based on the 2.0 version syntax
The existing windows 2003 servers were running Powershell 1.0
but they had been scheduled for an upgrade to PS 2.0
Apparently they have decided that the upgrade won't happen anytime
soon i.e. not in the next couple of years.
Is it possible to downgrade/convert my script so that is can run
in a PS 1.0 environment ?
Is it just a case of'debugging the code in order to replace certain
commands, or syntaxes ?
thanks in advance for your insight