Set-ADServiceAccount

Set-ADServiceAccount Modifies an Active Directory service account. Syntax Copy Set-ADServiceAccount [-Identity] <ADServiceAccount> [-AccountExpirationDate <System.Nullable[System.DateTime]>] [-AccountNotDelegated <System.Nullable[bool]>] [-Add <hashtable>] [-Certificates <string[]>] [-Clear <string[]>] [-Description <string>] [-DisplayName <string>] [-Enabled <System.Nullable[bool]>] [-HomePage <string>] [-Remove <hashtable>] [-Replace <hashtable>] [-SamAccountName <string>] [-ServicePrincipalNames <hashtable>] [-TrustedForDelegation <System.Nullable[bool]>] [-AuthType {<Negotiate> | <Basic>}] [-Credential <PSCredential>] [-Partition <string>] [-PassThru <switch>] [-Server <string>] [-Confirm] [-WhatIf] [<CommonParameters>] · Identity · AccountExpirationDate · AccountNotDelegated · Add · Certificates · Clear · Description · DisplayName · Enabled · HomePage · Remove · Replace · SamAccountName · ServicePrincipalNames · TrustedForDelegation · AuthType · Credential · Partition · PassThru · Server · Confirm · WhatIf Copy […]

Read more

Active Directory Cmdlets in Windows PowerShell

Active Directory Cmdlets in Windows PowerShell Windows PowerShell™ is a task-based command-line shell and scripting language designed especially for system administration. This reference topic for the information technology (IT) professional introduces the 76 Windows PowerShell cmdlets that you can use to manage and administer the Active Directory® directory service and Active Directory Domain Services (AD DS). What does the Active Directory module do? The Active Directory module for Windows PowerShell in Windows Server 2008 R2 is a Windows PowerShell module (named Active Directory) that consolidates a group of cmdlets. You can use these cmdlets to manage your Active Directory domains, […]

Read more

Set-ADDomainMode

Set-ADDomainMode Set-ADDomainMode Sets the domain mode for an Active Directory domain. Syntax Copy Set-ADDomainMode [-Identity] <ADDomain> [-DomainMode] {<Windows2000Domain> | <Windows2003InterimDomain> | <Windows2003Domain> | <Windows2008Domain> | <Windows2008R2Domain> | <UnknownDomain>} [-AuthType {<Negotiate> | <Basic>}] [-Credential <PSCredential>] [-PassThru <switch>] [-Server <string>] [-Confirm] [-WhatIf] [<CommonParameters>] · Identity · DomainMode · AuthType · Credential · PassThru · Server · Confirm · WhatIf Detailed Description The Set-ADDomainMode cmdlet sets the domain mode for a domain. You specify the domain mode by setting the DomainMode parameter. The domain mode can be set to the following values that are listed in order of functionality from lowest to highest. […]

Read more