6.0是在官方的github下载安装的。。- PS C:\Program Files\PowerShell\6.0.0.17> Get-WmiObject -Query "Select * from Win32_QuickFixEngineering where HotFixID= 'KB4012212'"
- Get-WmiObject : The term 'Get-WmiObject' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the s
- pelling of the name, or if a path was included, verify that the path is correct and try again.
- At line:1 char:1
- + Get-WmiObject -Query "Select * from Win32_QuickFixEngineering where H ...
- + ~~~~~~~~~~~~~
- + CategoryInfo : ObjectNotFound: (Get-WmiObject:String) [], CommandNotFoundException
- + FullyQualifiedErrorId : CommandNotFoundException
复制代码 对PS不懂。不知道是怎么回事了。 |