Forum Discussion

microchipmatt's avatar
microchipmatt
Copper Contributor
Sep 24, 2021

While Loop with More than One Condition? Need Help.

I already have a script the automates the creation of users.  If the sAMAccountName is not unique, then My script has a while loop that Basically says if ($user -eq $null) { $i = 1 while (((Get-AD...

Resources