Full list of Microsoft’s AD cmdlets

Here’s the full list of the Microsoft’s AD cmdlets currently included in Windows Server 2008 R2. For your convenience, I have grouped them by nouns and provided the count in brackets:

ADAccount (4):

  • Disable-ADAccount
  • Enable-ADAccount
  • Search-ADAccount
  • Unlock-ADAccount

ADAccountAuthorizationGroup (1):

  • Get-ADAccountAuthorizationGroup

ADAccountControl (1):

  • Set-ADAccountControl

ADAccountExpiration (2):

  • Clear-ADAccountExpiration
  • Set-ADAccountExpiration

ADAccountPassword (1):

  • Set-ADAccountPassword

ADAccountResultantPasswordReplicationPolicy (1):

  • Get-ADAccountResultantPasswordReplicationPolicy

ADComputer (4):

  • Get-ADComputer
  • New-ADComputer
  • Remove-ADComputer
  • Set-ADComputer

ADComputerServiceAccount (3):

  • Add-ADComputerServiceAccount
  • Get-ADComputerServiceAccount
  • Remove-ADComputerServiceAccount

ADDefaultDomainPasswordPolicy (2):

  • Get-ADDefaultDomainPasswordPolicy
  • Set-ADDefaultDomainPasswordPolicy

ADDirectoryServer (1):

  • Move-ADDirectoryServer

ADDirectoryServerOperationMasterRole (1):

  • Move-ADDirectoryServerOperationMasterRole

ADDomain (2):

  • Get-ADDomain
  • Set-ADDomain

ADDomainController (1):

  • Get-ADDomainController

ADDomainControllerPasswordReplicationPolicy (3):

  • Add-ADDomainControllerPasswordReplicationPolicy
  • Get-ADDomainControllerPasswordReplicationPolicy
  • Remove-ADDomainControllerPasswordReplicationPolicy

ADDomainControllerPasswordReplicationPolicyUsage (1)
:

  • Get-ADDomainControllerPasswordReplicationPolicyUsage

ADDomainMode (1):

  • Set-ADDomainMode

ADFineGrainedPasswordPolicy (4):

  • Get-ADFineGrainedPasswordPolicy
  • New-ADFineGrainedPasswordPolicy
  • Remove-ADFineGrainedPasswordPolicy
  • Set-ADFineGrainedPasswordPolicy

ADFineGrainedPasswordPolicySubject (3):

  • Add-ADFineGrainedPasswordPolicySubject
  • Get-ADFineGrainedPasswordPolicySubject
  • Remove-ADFineGrainedPasswordPolicySubject

ADForest (2):

  • Get-ADForest
  • Set-ADForest

ADForestMode (1):

  • Set-ADForestMode

ADGroup (4):

  • Get-ADGroup
  • New-ADGroup
  • Remove-ADGroup
  • Set-ADGroup

ADGroupMember (3):

  • Add-ADGroupMember
  • Get-ADGroupMember
  • Remove-ADGroupMember

ADObject (7):

  • Get-ADObject
  • Move-ADObject
  • New-ADObject
  • Remove-ADObject
  • Rename-ADObject
  • Restore-ADObject
  • Set-ADObject

ADOptionalFeature (3):

  • Disable-ADOptionalFeature
  • Enable-ADOptionalFeature
  • Get-ADOptionalFeature

ADOrganizationalUnit (4):

  • Get-ADOrganizationalUnit
  • New-ADOrganizationalUnit
  • Remove-ADOrganizationalUnit
  • Set-ADOrganizationalUnit

ADPrincipalGroupMembership (3):

  • Add-ADPrincipalGroupMembership
  • Get-ADPrincipalGroupMembership
  • Remove-ADPrincipalGroupMembership

ADRootDSE (1):

  • Get-ADRootDSE

ADServiceAccount (6):

  • Get-ADServiceAccount
  • Install-ADServiceAccount
  • New-ADServiceAccount
  • Remove-ADServiceAccount
  • Set-ADServiceAccount
  • Uninstall-ADServiceAccount

ADServiceAccountPassword (1):

  • Reset-ADServiceAccountPassword

ADUser (4):

  • Get-ADUser
  • New-ADUser
  • Remove-ADUser
  • Set-ADUser

ADUserResultantPasswordPolicy (1):

  • Get-ADUserResultantPasswordPolicy

As I mentioned before these will RTM with R2 in 2010 and most of them have free 3rd-party alternatives you can use meanwhile.

Tags: , , , , , , , ,

About these ads

8 Responses to “Full list of Microsoft’s AD cmdlets”


  1. 1 Paul Chavez November 7, 2008 at 5:15 pm

    Do you have any more information on the web services interface these will work against?

  2. 2 Dmitry Sotnikov November 10, 2008 at 11:00 am

    Paul,

    What kind of information do you need? As far as I was told it is a fairly loosely typed web service with a lot of XML going between the caller and the service. Also, it is very similar to the web service ILM v2 has – so if you have access to ILM’s beta SDK – this should help you get a feeling of what the AD one is.

    Dmitry

  3. 3 Paul Chavez November 10, 2008 at 9:36 pm

    Thanks, I guess I just wanted to know if there is a beta or CTP of these web services out there yet. I’ll look into the ILM stuff.

  4. 4 Dmitry Sotnikov November 10, 2008 at 9:41 pm

    Public beta is coming with Win 7 beta in Dec 08 – Q1 09.

    For now, ILM v2 RC is your friend. The data model is different but the web service is basically the same.

  5. 5 Yusuf Ozturk August 22, 2009 at 8:12 am

    How can I use “Remove-ADUser” to delete an user from Active Directory if there is no “-force” switch?


  1. 1 PowerShell and its future | Elan Shudnow's Blog Trackback on November 14, 2008 at 11:22 pm
  2. 2 Endlich… AD-Cmdlets « Peter’s PowerShell Blog (German only) Trackback on February 8, 2009 at 10:20 pm
  3. 3 AD team launches PowerShell blog « Dmitry’s PowerBlog: PowerShell and beyond Trackback on February 27, 2009 at 1:25 pm

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




My Recent Tweets

Legal

The posts on this blog are provided “as is” with no warranties and confer no rights. The opinions expressed on this site are mine and mine alone, and do not necessarily represent those of my employer - WSO2 or anyone else for that matter. All trademarks acknowledged.

© 2007-2014 Dmitry Sotnikov

November 2008
M T W T F S S
« Oct   Dec »
 12
3456789
10111213141516
17181920212223
24252627282930

Follow

Get every new post delivered to your Inbox.

Join 93 other followers

%d bloggers like this: