Skip to content

Instantly share code, notes, and snippets.

@nivleshc
Created September 19, 2016 10:16
Show Gist options
  • Save nivleshc/d12bbd80ddaefedc8ede191ba6d9010f to your computer and use it in GitHub Desktop.
Save nivleshc/d12bbd80ddaefedc8ede191ba6d9010f to your computer and use it in GitHub Desktop.
Wait for Active Directory Domain to be available
xWaitForADDomain DscForestWait
{
DomainName = $DomainName
DomainUserCredential= $DomainCreds
RetryCount = $RetryCount
RetryIntervalSec = $RetryIntervalSec
DependsOn = "[WindowsFeature]ADDSInstall"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment