Created
October 15, 2016 12:52
-
-
Save mreferre/b64510eba16e3cbc589852ef0dbd2b30 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
To add more user to the Windows bastion (Domain Controller), from a CMD: | |
for /l %i in (1, 1, 10) do (net user user%i <password> /ADD) | |
for /l %i in (11, 1, 11) do (net group "Domain Admins" user%i /ADD) | |
for /l %i in (11, 1, 11) do (net group "Enterprise Admins" user%i /ADD) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment