Xylos brands

Windows 8 Active Directory: New AD DS Deployment Cmdlets

In my previous blog post, I talked about some of the new cmdlets that were introduced in Windows Server 8 for managing Active Directory. Today, we'll focus on cmdlets that were added for deploying and configuring Active Directory.

Previously, if you wanted to configure AD DS, you had to use the DCPROMO.exe utility. However, in Windows Server 8 this tool has been deprecated and replaced by a brand new cmdlet: Install-ADDSDomainController.
The cmdlets for deploying ADDS have been grouped into a separate module: ADDSDeployment. As a result, you can run the following command to retrieve a list of all available cmdlets within the module:

Get-Command –Module ADDSDeployment

Get-ActiveDirectoryDomainNames
Get-ActiveDirectorySiteNames
Invoke-ADDSCanContactOtherDCsinDomain
Invoke-ADDSDoesDCHostOperationMasterRole
Invoke-ADDSDoesDNSDelegationForThisMachineExistInParentZone
Invoke-ADDSDoesDomainNamingContextExist
Invoke-ADDSGetAllowedRodcReplicationAccounts
Invoke-ADDSGetApplicationPartitionsInForest
Invoke-ADDSGetDatabaseFacts
Invoke-ADDSGetDefaultDNSOption
Invoke-ADDSGetDefaultSiteName
Invoke-ADDSGetDeniedRodcReplicationAccounts
Invoke-ADDSGetDnsDelegationOptions
Invoke-ADDSGetDomainControllersInDomain
Invoke-ADDSGetExistingDCAccountInfo
Invoke-ADDSGetForestFunctionalLevel
Invoke-ADDSGetGeneratedNetbiosName
Invoke-ADDSGetNDNCListWithNoOtherReplicas
Invoke-ADDSGetSuitableHelperDomainController
Invoke-ADDSIsDc
Invoke-ADDSIsRodc
Invoke-ExpandEnvironmentVariables
Restart-DeploymentTarget
Test-VerifyADPrepCredential
Test-VerifyAppPartitionRemoval
Test-VerifyAvailableWinDirSpace
Test-VerifyCertServiceExists
Test-VerifyChild
Test-VerifyComputerName
Test-VerifyComputerWasRenamedAndNeedsReboot
Test-VerifyCurrentUserIsAdministrator
Test-VerifyDCServiceAvailableForDemotion
Test-VerifyDemote
Test-VerifyDnsConfigOptions
Test-VerifyDnsDelegationRemoval
Test-VerifyDnsRegistration
Test-VerifyDomainUpgradeStatus
Test-VerifyForestName
Test-VerifyForestUpgradeStatus
Test-VerifyFsmoForceRemoval
Test-VerifyInfrastructureMasterOnline
Test-VerifyIsComputerNameValid
Test-VerifyMachineAdminPassword
Test-VerifyNamingMasterOnline
Test-VerifyNetBiosName
Test-VerifyNotInSafeBootMode
Test-VerifyNtfs5DriveAvailable
Test-VerifyPaths
Test-VerifyReplica
Test-VerifyReplicateFromMedia
Test-VerifyReplicationPartner
Test-VerifyRequiredPortsAreAvailable
Test-VerifyRODCUpgradeStatus
Test-VerifySafeModePassword
Test-VerifySchemaMasterOnline
Test-VerifySelectedDcAccount
Test-VerifySiteSelection
Test-VerifySupportedPlatform
Test-VerifyTcpIPIsInstalledAndFunctioning
Test-VerifyTree
Test-VerifyUserCredentialPermissions
Test-VerifyUserCredentials
Test-VerifyValidRoleChangeState
Add-ADDSReadOnlyDomainControllerAccount
Install-ADDSDomain
Install-ADDSDomainController
Install-ADDSForest
Test-ADDSDomainControllerInstallation
Test-ADDSDomainControllerUninstallation
Test-ADDSDomainInstallation
Test-ADDSForestInstallation
Test-ADDSReadOnlyDomainControllerAccountCreation
Uninstall-ADDSDomainController

Together with new deployment cmdlets, you now have also a bunch of test-cmdlets which can verify your installation and prove useful during troubleshooting.
We're facing some exiting times as these new cmdlets will allow you to create more comprehensive scripts. Not only for AD Management, but also for deployment and testing!


Until later!

Share this blogpost

Also interesting for you

Leave a reply

Your email address will not be published. Required fields are marked.