Knowing the version of Powershell you are running is very important as some commands/syntax will only work on new versions and vice-versa. To display the Powershell version, issue one of the following commands: Get-Host | Select Version $PSVersionTable Versions of Powershell are as follows. V1 and V2 were released in 2006 for XP SP2, Vista…