Jorge's Quest For Knowledge!

All You Need To Know About Identity And Security On-Premises And In The Cloud. It's Just Like An Addiction, The More You Have, The More You Want To Have!

(2011-12-14) Active Directory PowerShell Module CMDlets

Posted by Jorge on 2011-12-14


Figure 1: The AD PowerShell Module CMDlets Posted

More information about the AD Powershell Module CMDlets:

Windows Server 8 provides the following CMDlets to support AD/DCs:

PS C:\> Get-Command | Where-Object{$_.ModuleName -eq "ActiveDirectory"} | Select CommandType,Name,ModuleName | FT -AutoSize

CommandType Name                                                 ModuleName
———– —-                                                 ———-
Cmdlet      Add-ADCentralAccessPolicyMember                      ActiveDirectory
Cmdlet      Add-ADComputerServiceAccount                         ActiveDirectory
Cmdlet      Add-ADDomainControllerPasswordReplicationPolicy      ActiveDirectory
Cmdlet      Add-ADFineGrainedPasswordPolicySubject               ActiveDirectory
Cmdlet      Add-ADGroupMember                                    ActiveDirectory
Cmdlet      Add-ADPrincipalGroupMembership                       ActiveDirectory
Cmdlet      Add-ADResourcePropertyListMember                     ActiveDirectory
Cmdlet      Clear-ADAccountExpiration                            ActiveDirectory
Cmdlet      Clear-ADClaimTransformLink                           ActiveDirectory
Cmdlet      Disable-ADAccount                                    ActiveDirectory
Cmdlet      Disable-ADOptionalFeature                            ActiveDirectory
Cmdlet      Enable-ADAccount                                     ActiveDirectory
Cmdlet      Enable-ADOptionalFeature                             ActiveDirectory
Cmdlet      Get-ADAccountAuthorizationGroup                      ActiveDirectory
Cmdlet      Get-ADAccountResultantPasswordReplicationPolicy      ActiveDirectory
Cmdlet      Get-ADCentralAccessPolicy                            ActiveDirectory
Cmdlet      Get-ADCentralAccessRule                              ActiveDirectory
Cmdlet      Get-ADClaimTransformPolicy                           ActiveDirectory
Cmdlet      Get-ADClaimType                                      ActiveDirectory
Cmdlet      Get-ADComputer                                       ActiveDirectory
Cmdlet      Get-ADComputerServiceAccount                         ActiveDirectory
Cmdlet      Get-ADDCCloningExcludedApplicationList               ActiveDirectory
Cmdlet      Get-ADDefaultDomainPasswordPolicy                    ActiveDirectory
Cmdlet      Get-ADDomain                                         ActiveDirectory
Cmdlet      Get-ADDomainController                               ActiveDirectory
Cmdlet      Get-ADDomainControllerPasswordReplicationPolicy      ActiveDirectory
Cmdlet      Get-ADDomainControllerPasswordReplicationPolicyUsage ActiveDirectory
Cmdlet      Get-ADFineGrainedPasswordPolicy                      ActiveDirectory
Cmdlet      Get-ADFineGrainedPasswordPolicySubject               ActiveDirectory
Cmdlet      Get-ADForest                                         ActiveDirectory
Cmdlet      Get-ADGroup                                          ActiveDirectory
Cmdlet      Get-ADGroupMember                                    ActiveDirectory
Cmdlet      Get-ADObject                                         ActiveDirectory
Cmdlet      Get-ADOptionalFeature                                ActiveDirectory
Cmdlet      Get-ADOrganizationalUnit                             ActiveDirectory
Cmdlet      Get-ADPrincipalGroupMembership                       ActiveDirectory
Cmdlet      Get-ADReplicationAttributeMetadata                   ActiveDirectory
Cmdlet      Get-ADReplicationConnection                          ActiveDirectory
Cmdlet      Get-ADReplicationFailure                             ActiveDirectory
Cmdlet      Get-ADReplicationPartnerMetadata                     ActiveDirectory
Cmdlet      Get-ADReplicationQueueOperation                      ActiveDirectory
Cmdlet      Get-ADReplicationSite                                ActiveDirectory
Cmdlet      Get-ADReplicationSiteLink                            ActiveDirectory
Cmdlet      Get-ADReplicationSiteLinkBridge                      ActiveDirectory
Cmdlet      Get-ADReplicationSubnet                              ActiveDirectory
Cmdlet      Get-ADReplicationUpToDatenessVectorTable             ActiveDirectory
Cmdlet      Get-ADResourceProperty                               ActiveDirectory
Cmdlet      Get-ADResourcePropertyList                           ActiveDirectory
Cmdlet      Get-ADResourcePropertyValueType                      ActiveDirectory
Cmdlet      Get-ADRootDSE                                        ActiveDirectory
Cmdlet      Get-ADServiceAccount                                 ActiveDirectory
Cmdlet      Get-ADTrust                                          ActiveDirectory
Cmdlet      Get-ADUser                                           ActiveDirectory
Cmdlet      Get-ADUserResultantPasswordPolicy                    ActiveDirectory
Cmdlet      Install-ADServiceAccount                             ActiveDirectory
Cmdlet      Move-ADDirectoryServer                               ActiveDirectory
Cmdlet      Move-ADDirectoryServerOperationMasterRole            ActiveDirectory
Cmdlet      Move-ADObject                                        ActiveDirectory
Cmdlet      New-ADCentralAccessPolicy                            ActiveDirectory
Cmdlet      New-ADCentralAccessRule                              ActiveDirectory
Cmdlet      New-ADClaimTransformPolicy                           ActiveDirectory
Cmdlet      New-ADClaimType                                      ActiveDirectory
Cmdlet      New-ADComputer                                       ActiveDirectory
Cmdlet      New-ADFineGrainedPasswordPolicy                      ActiveDirectory
Cmdlet      New-ADGroup                                          ActiveDirectory
Cmdlet      New-ADObject                                         ActiveDirectory
Cmdlet      New-ADOrganizationalUnit                             ActiveDirectory
Cmdlet      New-ADReplicationSite                                ActiveDirectory
Cmdlet      New-ADReplicationSiteLink                            ActiveDirectory
Cmdlet      New-ADReplicationSiteLinkBridge                      ActiveDirectory
Cmdlet      New-ADReplicationSubnet                              ActiveDirectory
Cmdlet      New-ADResourceProperty                               ActiveDirectory
Cmdlet      New-ADResourcePropertyList                           ActiveDirectory
Cmdlet      New-ADServiceAccount                                 ActiveDirectory
Cmdlet      New-ADUser                                           ActiveDirectory
Cmdlet      Remove-ADCentralAccessPolicy                         ActiveDirectory
Cmdlet      Remove-ADCentralAccessPolicyMember                   ActiveDirectory
Cmdlet      Remove-ADCentralAccessRule                           ActiveDirectory
Cmdlet      Remove-ADClaimTransformPolicy                        ActiveDirectory
Cmdlet      Remove-ADClaimType                                   ActiveDirectory
Cmdlet      Remove-ADComputer                                    ActiveDirectory
Cmdlet      Remove-ADComputerServiceAccount                      ActiveDirectory
Cmdlet      Remove-ADDomainControllerPasswordReplicationPolicy   ActiveDirectory
Cmdlet      Remove-ADFineGrainedPasswordPolicy                   ActiveDirectory
Cmdlet      Remove-ADFineGrainedPasswordPolicySubject            ActiveDirectory
Cmdlet      Remove-ADGroup                                       ActiveDirectory
Cmdlet      Remove-ADGroupMember                                 ActiveDirectory
Cmdlet      Remove-ADObject                                      ActiveDirectory
Cmdlet      Remove-ADOrganizationalUnit                          ActiveDirectory
Cmdlet      Remove-ADPrincipalGroupMembership                    ActiveDirectory
Cmdlet      Remove-ADReplicationSite                             ActiveDirectory
Cmdlet      Remove-ADReplicationSiteLink                         ActiveDirectory
Cmdlet      Remove-ADReplicationSiteLinkBridge                   ActiveDirectory
Cmdlet      Remove-ADReplicationSubnet                           ActiveDirectory
Cmdlet      Remove-ADResourceProperty                            ActiveDirectory
Cmdlet      Remove-ADResourcePropertyList                        ActiveDirectory
Cmdlet      Remove-ADResourcePropertyListMember                  ActiveDirectory
Cmdlet      Remove-ADServiceAccount                              ActiveDirectory
Cmdlet      Remove-ADUser                                        ActiveDirectory
Cmdlet      Rename-ADObject                                      ActiveDirectory
Cmdlet      Reset-ADServiceAccountPassword                       ActiveDirectory
Cmdlet      Restore-ADObject                                     ActiveDirectory
Cmdlet      Search-ADAccount                                     ActiveDirectory
Cmdlet      Set-ADAccountControl                                 ActiveDirectory
Cmdlet      Set-ADAccountExpiration                              ActiveDirectory
Cmdlet      Set-ADAccountPassword                                ActiveDirectory
Cmdlet      Set-ADCentralAccessPolicy                            ActiveDirectory
Cmdlet      Set-ADCentralAccessRule                              ActiveDirectory
Cmdlet      Set-ADClaimTransformLink                             ActiveDirectory
Cmdlet      Set-ADClaimTransformPolicy                           ActiveDirectory
Cmdlet      Set-ADClaimType                                      ActiveDirectory
Cmdlet      Set-ADComputer                                       ActiveDirectory
Cmdlet      Set-ADDefaultDomainPasswordPolicy                    ActiveDirectory
Cmdlet      Set-ADDomain                                         ActiveDirectory
Cmdlet      Set-ADDomainMode                                     ActiveDirectory
Cmdlet      Set-ADFineGrainedPasswordPolicy                      ActiveDirectory
Cmdlet      Set-ADForest                                         ActiveDirectory
Cmdlet      Set-ADForestMode                                     ActiveDirectory
Cmdlet      Set-ADGroup                                          ActiveDirectory
Cmdlet      Set-ADObject                                         ActiveDirectory
Cmdlet      Set-ADOrganizationalUnit                             ActiveDirectory
Cmdlet      Set-ADReplicationConnection                          ActiveDirectory
Cmdlet      Set-ADReplicationSite                                ActiveDirectory
Cmdlet      Set-ADReplicationSiteLink                            ActiveDirectory
Cmdlet      Set-ADReplicationSiteLinkBridge                      ActiveDirectory
Cmdlet      Set-ADReplicationSubnet                              ActiveDirectory
Cmdlet      Set-ADResourceProperty                               ActiveDirectory
Cmdlet      Set-ADResourcePropertyList                           ActiveDirectory
Cmdlet      Set-ADServiceAccount                                 ActiveDirectory
Cmdlet      Set-ADUser                                           ActiveDirectory
Cmdlet      Sync-ADObject                                        ActiveDirectory
Cmdlet      Test-ADServiceAccount                                ActiveDirectory
Cmdlet      Uninstall-ADServiceAccount                           ActiveDirectory
Cmdlet      Unlock-ADAccount                                     ActiveDirectory

PS C:\> Get-Command | Where-Object{$_.ModuleName -eq "ADDSDeployment"} | Select CommandType,Name,ModuleName | FT -AutoSize

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

PS C:\> Get-Command | Where-Object{$_.ModuleName -eq "ADDeploymentWF"} | Select CommandType,Name,ModuleName | FT -AutoSize

CommandType Name             ModuleName
———– —-             ———-
Function    Invoke-ADCommand ADDeploymentWF

Cheers,
Jorge
———————————————————————————————
* This posting is provided "AS IS" with no warranties and confers no rights!
* Always evaluate/test yourself before using/implementing this!
* DISCLAIMER:
https://jorgequestforknowledge.wordpress.com/disclaimer/
———————————————————————————————
############### Jorge’s Quest For Knowledge #############
#########
http://JorgeQuestForKnowledge.wordpress.com/ ########
———————————————————————————————

2 Responses to “(2011-12-14) Active Directory PowerShell Module CMDlets”

  1. Niko said

    I am enjoying these cmdlets. Quick question… I am trying to set-aduser -department using the get-adgroup command. I have a group that I want to set their ‘department’ but it doesn’t like me combing get-adgroup with set-aduser…. Any ideas?

  2. Niko said

    Had to use get-adgroupmemeber instead of get-adgroup to set ad-user properties. :p ignore last reply…

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: