Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
This function inside InstallADFS joins the virtual machine to the Active Directory domain
xComputer JoinDomain
{
Name = $MachineName
DomainName = $DomainName
Credential = $DomainCreds # Credential to join to domain
DependsOn = "[xWaitForADDomain]DscForestWait"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.