We provide scripts for clients who will work only in Powershell 2.0.
With the command, we can provide the installation of powershell 2.0, as shown below
$version = Get-host | Select-object Version
But if we provide a script, how to ensure that this is done from Powershell 2.0?
When executing a script, Powershell 2.0 functions may give script errors when the script itself is run. It's not him?
Samselvaprabu
source share