Closed farag2 closed 6 years ago
ScriptAnalyzer advices to use "Get-CimInstance -ClassName Win32_OperatingSystem" instead of "Get-WmiObject -ClassName Win32_OperatingSystem". Not a bug, but looks much better and modernized.
ScriptAnalyzer advices to use "Get-CimInstance -ClassName Win32_OperatingSystem" instead of "Get-WmiObject -ClassName Win32_OperatingSystem". Not a bug, but looks much better and modernized.