Saturday, September 07, 2013

Powershell Quick Tips: Get currently logged on user

PS C:\> Get-WMIObject win32_process -Filter "Name='explorer.exe'" | ForEach-Object {Write-Host $_.GetOwner().User}

Keywords:
WMI
Win32_Prococess
User

No comments:

Fedora install screen chronicle

Fedora install screen chronicle Below are links to Fedora installation screens. It is interesting to see how it has evolved over time. Fe...