diff --git a/scripts/Get_Computer_Users.ps1 b/scripts/Get_Computer_Users.ps1 new file mode 100644 index 00000000..ee4e085d --- /dev/null +++ b/scripts/Get_Computer_Users.ps1 @@ -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 $_} \ No newline at end of file