script to create a local
administrator account if it
is not present on the machine.
The account name is defined in the
variable $ localUsers
Subsequently, the list of local accounts is recovered, then the script checks if the account is to create this.
If the account is then nothing happens, if it is not present then the creation is made:
Account Type: Administrator
Password: Pa $$ w0rd (line 37)
Properties: Password never expires activated
This script has been inserted into a GPO to run on hundreds of stations