From bfb884dcb4613e276238c84615299c60fdee9845 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20L=C3=B8vbr=C3=B8tte=20Olsen?= Date: Fri, 30 Oct 2015 11:51:54 +0100 Subject: [PATCH] Not neccesary anymore, so that's neat --- Commissions/Fredrik/Make Users.ps1 | 2 -- 1 file changed, 2 deletions(-) diff --git a/Commissions/Fredrik/Make Users.ps1 b/Commissions/Fredrik/Make Users.ps1 index 2c1dfe0..0b9da00 100644 --- a/Commissions/Fredrik/Make Users.ps1 +++ b/Commissions/Fredrik/Make Users.ps1 @@ -20,8 +20,6 @@ forEach ($User in $Users) #Write the command to a batfile to run in a normal cmd window "dsadd user `"cn=$username, ou=Illuminati, dc=datavg2, dc=local`" -fn $firstname -ln $lastname -pwd Admin123" | out-file run.bat -Encoding "UTF8" -Append #Hack to wait .2 seconds between each command, because Active Directory can't keep up - #This ip adress is reserved for documentation, so it will never reach anything. > nul is to supress the output - "ping 192.0.2.2 -n 1 -w 2 > nul" | out-file run.bat -Encoding "UTF8" -Append } "echo Script has finished running, thanks based Daniel in 1ELA for making our lives easier" | out-file run.bat -Encoding "UTF8" -Append "PAUSE" | out-file run.bat -Encoding "UTF8" -append