PS C:\Users\MaGa Mobile> Get-CimInstance Win32_Service |
>> Where-Object {$_.Name -match 'Defend|Sense|WdNis|SecurityHealth'} |
>> Select-Object Name, State, StartMode, PathName
Name State StartMode PathName
---- ----- --------- --------
SecurityHealthService Running Manual C:\Windows\system32\SecurityHealthService.exe
Sense Stopped Manual "C:\Program Files\Windows Defender Advanced Threat Protection\MsSense.exe"
PS C:\Users\MaGa Mobile> Get-MpComputerStatus
Get-MpComputerStatus : Имя "Get-MpComputerStatus" не распознано как имя командлета, функции, файла сценария или выполня
емой программы. Проверьте правильность написания имени, а также наличие и правильность пути, после чего повторите попыт
ку.
строка:1 знак:1
+ Get-MpComputerStatus
+ ~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Get-MpComputerStatus:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\Users\MaGa Mobile> Get-ComputerInfo |
>> Select-Object WindowsProductName, WindowsVersion, OsBuildNumber
WindowsProductName WindowsVersion OsBuildNumber
------------------ -------------- -------------
Windows 10 Pro 2009 19045