Skip to content

Instantly share code, notes, and snippets.

@nivleshc
Created September 8, 2016 07:22
Show Gist options
  • Save nivleshc/38b3983aa90fa87ffeeef01126100096 to your computer and use it in GitHub Desktop.
Save nivleshc/38b3983aa90fa87ffeeef01126100096 to your computer and use it in GitHub Desktop.
Description of the parameters for CreateNewADForest DSC Configuration Function
$DomainName  - FQDN for the Active Directory Domain to create
$AdminCreds - a PSCredentials object that contains username and password
that will be assigned to the Domain Administrator account
$SafeModeAdminCreds - a PSCredentials object that contains the password that will
be assigned to the Safe Mode Administrator account
$myFirstUserCreds - a PSCredentials object that contains the username and
password for the first domain user account to create
$RetryCount - defines how many retries should be performed while waiting
for the domain to be provisioned
$RetryIntervalSec - defines the seconds between each retry to check if the
domain has been provisioned
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment