N
NitinSinghSS
Hello everyone, I happen to use following command to obtain operating system version details. cmd /verThe same command cannot be used when called in a PowerShell script like following. Why? because it opens a shell; and control remain stuck there. invoke-command -scriptblock {cmd /ver}Now I have tried following but this is not very explanatory as I want details given from cmd /ver. $Version = (Get-CimInstance Win32_OperatingSystem -ErrorAction Stop).VersionHow can I obtain the Major/Minor/Version/Patch details using any PowerShell command on a remote machine where the output from cmd /ver is e
Continue reading...
Continue reading...