PS C:\> Get-WMIObject win32_process -Filter "Name='explorer.exe'" | ForEach-Object {Write-Host $_.GetOwner().User} Keywords: WMI Win32_Prococess User
String of thoughts on science, technology and programming
String of thoughts on science, technology and programming