我在PowerShell中运行了tasklist
和gwmi
并收到以下错误:
tasklist : The term 'tasklist' is not recognized as the name of a cmdlet, function,
script file, or operable program. Check the spelling of the name, or if a path was
included, verify that the path is correct and try again.
At line:1 char:2
+ tasklist
+ ~~~~~~~~
+ CategoryInfo : ObjectNotFound: (tasklist:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException