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.
hi,
this might help:
Windows Server > Windows PowerShell
Comments
Post a Comment