Właściciel danego procesu pokaże nam się po wywołaniu komendy:
(Get-WmiObject -class win32_process | where{$_.Name -eq 'notepad.exe'}).getowner()| Select -Property user
(Get-WmiObject -class win32_process | where{$_.Name -eq 'notepad.exe'}).getowner()| Select -Property user
Brak komentarzy:
Prześlij komentarz