Disassembler0 / Win10-Initial-Setup-Script

PowerShell script for automation of routine tasks done after fresh installations of Windows 10 / Server 2016 / Server 2019
MIT License
4.7k stars 1.07k forks source link

Please, use CIM cmdlet instead of WIM #168

Closed farag2 closed 6 years ago

farag2 commented 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.