Skip to content

Instantly share code, notes, and snippets.

@nivleshc
Created September 25, 2016 04:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nivleshc/cf60968b587014c754c74a58fc735c11 to your computer and use it in GitHub Desktop.
Save nivleshc/cf60968b587014c754c74a58fc735c11 to your computer and use it in GitHub Desktop.
This function inside InstallADFS reboots the virtual machine after it has been joined to the Active Directory domain
xPendingReboot Reboot1
{
Name = "RebootServer"
DependsOn = "[xComputer]JoinDomain"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment