-
Find where that user is | Dmitry’s PowerBlog: PowerShell and beyond
Get-ADComputer -filter * | foreach {gwmi -class Win32_ComputerSystem -ComputerName $_.Name -Property Name,Username} | where {$_.UserName -like “*myuser*”}| ft name,username
Post Links 06/05/2013
↳
··················
Leave a comment