The PowerShell is available in different versions. To find out which version is installed on your system, you can investigate using O&O Syspectr in the Dashboard. Basically:
- Version 1.0 is obsolete and should no longer be used
- Version 2.0 is pre-installed by default in Windows 7. It can be downloaded and installed free of charge for Windows XP, Windows Server 2003 and Windows Vista.
- Version 3.0 is standard since Windows 8. It is also available for Windows 7 SP1 and Windows Server 2008 R2 SP1.
- Version 4.0 is the current version and can be installed as component of Windows Management Framework 4.0.
The different versions have partly different syntax and functions so that adjustments to the scripts for each version may be necessary.
Posted in: PowerShell