-
-
Notifications
You must be signed in to change notification settings - Fork 99
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
191 additions
and
253 deletions.
There are no files selected for viewing
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
Write-Host "Waiting for domain controller to become reachable." | ||
$isUp = $false | ||
while($isUp -eq $false) { | ||
Try { | ||
$domain = Get-ADDomain | ||
$isUp = $true | ||
} Catch [Microsoft.ActiveDirectory.Management.ADServerDownException] { | ||
Write-Host "Retrying in 30 seconds" | ||
$isUp = $false | ||
Start-Sleep 30 | ||
} | ||
} | ||
|
||
Add-ADGroupMember -Identity "Domain Admins" -Members vagrant | ||
Add-ADGroupMember -Identity "Enterprise Admins" -Members vagrant | ||
Add-ADGroupMember -Identity "Schema Admins" -Members vagrant |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.