Closed carnal0wnage closed 9 years ago
The Get-NetUsers cmdlet was rolled into Get-NetUser with flexible filters. If you want just user names, you can do "Get-NetUser | %{$_.samaccountname}" (if you want other fields you can extract those as needed). If you want just one user, do "Get-NetUser NAME". NAME also accepts wildcards if you want to search for a set of users.
thanks. was just pointing it out b/c it was in the documentation
derp, thanks for catching that. should be corrected now.
PS C:\Users\xxxxxxDesktop\PowerTools\PowerView> Get-NetUsers Get-NetUsers : The term 'Get-NetUsers' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:1