Parsing data from net user into powershell


help!

this has been driving me insane - use net user lot when troubleshooting user logon issues (usually password has expired).

i trying parse of data out of net user powershell , create new objects using data  - cant seem working - keep getting stuck.

this have far - 

$output = net user $user /domain | select-string "full name", "account", "home", "last logon", "logon hours allowed", "password"

this gets me information want cant further that.

any or advice appreciated.



Windows Server  >  Windows PowerShell



Comments

Popular posts from this blog

Motherboard replacement

Cannot create Full Text Search catalog after upgrading to V12 - Database is not fully started up or it is not in an ONLINE state

Remote Desktop App - Error 0x207 or 0x607