Added Get_Computer_Users script
This commit is contained in:
parent
df3cac4ea6
commit
f210ed3e6a
|
@ -0,0 +1,5 @@
|
||||||
|
# This script return the list of all users and checks
|
||||||
|
# if they are enabled or disabled
|
||||||
|
|
||||||
|
get-localuser | Select name,Enabled > $env:TEMP\users.txt
|
||||||
|
Get-Content $env:TEMP\users.txt | foreach {Write-Output $_}
|
Loading…
Reference in New Issue