Enable-QADUser

Enable a user account in Active Directory.

Syntax
      Enable-QADUser [[-Identity] IdentityParameter]
         [-WhatIf] [-Confirm] Advanced_Options

Key

   -identity    The Distinguished Name (DN), Canonical Name, GUID or, where applicable,
                the Domain\Name, UPN or SID of the user object you wish to enable. 

   -WhatIf      Describe what would happen if you executed the command,
                without actually executing the command.

   -Confirm     Prompt for confirmation before executing the command.

   Advanced_Options:
                [-UseGlobalCatalog] [-Proxy] [-Service String]
                [-ConnectionAccount String] [-ConnectionPassword SecureString]
                [-Credential PSCredential] [-Connection ArsConnection]

Notes:
By default Enable-QADUser will connect to any available domain controller with the credentials of the locally logged on user, to connect to a specific domain controller using a specific account, either use the advanced options (-Proxy/-Service/-ConnectionAccount) or use the Connect-QADService cmdlet to make the connection.

Example

Enable the user account JaneC in domain ss64Dom

PS C:> Enable-QADUser 'ss64Dom\JaneC'

“Everybody, come on dance and sing, Everybody, get up and do your thing" ~ Madonna

Related:

Disable-QADUser - Disable a user account
Unlock-QADUser
- Unlock a user account
Deprovision-QADUser
- Deprovision a user account in AD
Quest cmdlets


© Copyright SS64.com 1999-2013
Some rights reserved