You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$badblood=Read-Host-Prompt "Type `'badblood`' to deploy some randomness into a domain"
46
88
$badblood.tolower()
47
89
if($badblood-ne'badblood'){exit}
@@ -58,7 +100,11 @@ if($badblood -eq 'badblood'){
58
100
$I++
59
101
$ousAll=Get-adorganizationalunit-filter *
60
102
write-host"Creating Users on Domain"-ForegroundColor Green
61
-
$NumOfUsers=1000..5000|Get-random#this number is the random number of users to create on a domain. Todo: Make process createusers.ps1 in a parallel loop
103
+
104
+
105
+
$NumOfUsers=$userSize|Get-random#this number is the random number of users to create on a domain. Todo: Make process createusers.ps1 in a parallel loop
106
+
107
+
62
108
$X=1
63
109
Write-Progress-Activity "Random Stuff into A domain - Creating Users"-Status "Progress:"-PercentComplete ($i/$totalscripts*100)
64
110
$I++
@@ -72,7 +118,11 @@ if($badblood -eq 'badblood'){
72
118
$AllUsers=Get-aduser-Filter *
73
119
74
120
write-host"Creating Groups on Domain"-ForegroundColor Green
75
-
$NumOfGroups=100..500|Get-random
121
+
122
+
123
+
$NumOfGroups=$groupSize|Get-random
124
+
125
+
76
126
$X=1
77
127
Write-Progress-Activity "Random Stuff into A domain - Creating $NumOfGroups Groups"-Status "Progress:"-PercentComplete ($i/$totalscripts*100)
0 commit comments