From eef59d5ab317b48372be24cdfcc66aa4e6345665 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20L=C3=B8vbr=C3=B8tte=20Olsen?= Date: Wed, 30 Dec 2015 15:35:31 +0100 Subject: [PATCH] oops, forgot to remove comment describing past adventures --- Commissions/Fredrik/Make Users.ps1 | 1 - 1 file changed, 1 deletion(-) diff --git a/Commissions/Fredrik/Make Users.ps1 b/Commissions/Fredrik/Make Users.ps1 index 0b9da00..6c6c081 100644 --- a/Commissions/Fredrik/Make Users.ps1 +++ b/Commissions/Fredrik/Make Users.ps1 @@ -19,7 +19,6 @@ forEach ($User in $Users) $username = $username -replace " ", "" #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 } "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