PowerShell像cmd一樣運行IpConfig和WhoAmI等程序。不過,我難倒試圖運行將MpCmdRun.exe如何獲取PowerShell執行MpCmdRun.exe
Clear-Host
Set-Location "C:\Program Files\Windows Defender"
Get-ChildItem
mpcmdrun.exe
結果
Error:
mpcmdrun.exe : The term 'mpcmdrun.exe' is not recognized as the name of a cmdlet, function, script file, or operable program.
它的工作!我感到驚訝和激動。謝謝。 –