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: AD, AD cmdlets, Active Directory, Conferences, IT Forum, PowerShell, TechEd, TechEd2008, cmdlets
Do you have any more information on the web services interface these will work against?
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
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.
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.
How can I use “Remove-ADUser” to delete an user from Active Directory if there is no “-force” switch?