Added Get_Computer_Users script

This commit is contained in:
tremor021 2021-04-13 23:25:10 +02:00
parent df3cac4ea6
commit f210ed3e6a
1 changed files with 5 additions and 0 deletions

View File

@ -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 $_}