Greetings,
I'm trying to run from the powershell component a simple script (many script from powershell behaving SO WEIRD and even not working due to god knows why)
so I came across a post here which someone offered to check the powershell version running locally and remotely on the target computer, however even this script is running WEIRD!
$version = $psversiontable.PSVersion
$edition = $psversiontable.PSEdition
write-host "Statistic $version"
write-host "Message: $edition"
while running from SW component i get:
Desktop and NaN
when running locally from powershell (which means RDP to the server itself) i get the following:
Desktop & 5.1.17763.1852
why? what seems to be the problem? (there is no typo error in the script, I copied and pasted it on SW itself, maybe there is a typo mistake here on the forum)
Thanks in advance.