COMMAND EVERYTHING.
Practical commands. Clear explanations. Authoritative sources.
2557 published commands · 2545 documentation-verified · 12 awaiting review · Ask Cmdlet AI
Creates a site link bridge in Active Directory for replication.
New-ADReplicationSiteLinkBridge [-WhatIf] [-Confirm] [-AuthType <ADAuthType>] [-Credential <PSCredential>]
[-Description <String>] [-Instance <ADReplicationSiteLinkBridge>]
[-InterSiteTransportProtocol <ADInterSiteTransportProtocolType>] [-Name] <String>
[-OtherAttributes <Hashtable>] [-PassThru] [-Server <String>] [[-SiteLinksIncluded] <ADReplicationSiteLink[]>]
[<CommonParameters>]Copied 0 timesActive DirectoryCreates an Active Directory replication subnet object.
New-ADReplicationSubnet [-WhatIf] [-Confirm] [-AuthType <ADAuthType>] [-Credential <PSCredential>]
[-Description <String>] [-Instance <ADReplicationSubnet>] [-Location <String>] [-Name] <String>
[-OtherAttributes <Hashtable>] [-PassThru] [-Server <String>] [[-Site] <ADReplicationSite>]
[<CommonParameters>]Copied 0 timesActive DirectoryCreates a resource property in Active Directory.
New-ADResourceProperty [-WhatIf] [-Confirm] [-AppliesToResourceTypes <String[]>] [-AuthType <ADAuthType>]
[-Credential <PSCredential>] [-Description <String>] [-DisplayName] <String> [-Enabled <Boolean>]
[-ID <String>] [-Instance <ADResourceProperty>] [-IsSecured <Boolean>] [-OtherAttributes <Hashtable>]
[-PassThru] [-ProtectedFromAccidentalDeletion <Boolean>]
-ResourcePropertyValueType <ADResourcePropertyValueType> [-Server <String>] [-SharesValuesWith <ADClaimType>]
[-SuggestedValues <ADSuggestedValueEntry[]>] [<CommonParameters>]Copied 0 timesActive DirectoryCreates a resource property list in Active Directory.
New-ADResourcePropertyList [-WhatIf] [-Confirm] [-AuthType <ADAuthType>] [-Credential <PSCredential>]
[-Description <String>] [-Instance <ADResourcePropertyList>] [-Name] <String> [-PassThru]
[-ProtectedFromAccidentalDeletion <Boolean>] [-Server <String>] [<CommonParameters>]Copied 0 timesActive DirectoryCreates a new Active Directory managed service account or group managed service account object.
New-ADServiceAccount [-WhatIf] [-Confirm] [-AccountExpirationDate <DateTime>]
[-AccountNotDelegated <Boolean>] [-AuthenticationPolicy <ADAuthenticationPolicy>]
[-AuthenticationPolicySilo <ADAuthenticationPolicySilo>] [-AuthType <ADAuthType>]
[-Certificates <String[]>] [-CompoundIdentitySupported <Boolean>] [-Credential <PSCredential>]
[-Description <String>] [-DisplayName <String>] -DNSHostName <String> [-Enabled <Boolean>]
[-HomePage <String>] [-Instance <ADServiceAccount>]
[-KerberosEncryptionType <ADKerberosEncryptionType>] [-ManagedPasswordIntervalInDays <Int32>]
[-Name] <String> [-OtherAttributes <Hashtable>] [-PassThru] [-Path <String>]
[-CreateDelegatedServiceAccount] [-PrincipalsAllowedToDelegateToAccount <ADPrincipal[]>]
[-PrincipalsAllowedToRetrieveManagedPassword <ADPrincipal[]>] [-SamAccountName <String>]
[-Server <String>] [-ServicePrincipalNames <String[]>] [-TrustedForDelegation <Boolean>]
[<CommonParameters>]Copied 0 timesActive DirectoryCreates an Active Directory user.
New-ADUser [-AccountExpirationDate <DateTime>] [-AccountNotDelegated <Boolean>]
[-AccountPassword <SecureString>] [-AllowReversiblePasswordEncryption <Boolean>]
[-AuthenticationPolicy <ADAuthenticationPolicy>]
[-AuthenticationPolicySilo <ADAuthenticationPolicySilo>] [-AuthType <ADAuthType>]
[-CannotChangePassword <Boolean>] [-Certificates <X509Certificate[]>]
[-ChangePasswordAtLogon <Boolean>] [-City <String>] [-Company <String>]
[-CompoundIdentitySupported <Boolean>] [-Country <String>] [-Credential <PSCredential>]
[-Department <String>] [-Description <String>] [-DisplayName <String>] [-Division <String>]
[-EmailAddress <String>] [-EmployeeID <String>] [-EmployeeNumber <String>] [-Enabled <Boolean>]
[-Fax <String>] [-GivenName <String>] [-HomeDirectory <String>] [-HomeDrive <String>]
[-HomePage <String>] [-HomePhone <String>] [-Initials <String>] [-Instance <ADUser>]
[-KerberosEncryptionType <ADKerberosEncryptionType>] [-LogonWorkstations <String>]
[-Manager <ADUser>] [-MobilePhone <String>] [-Name] <String> [-Office <String>]
[-OfficePhone <String>] [-Organization <String>] [-OtherAttributes <Hashtable>]
[-OtherName <String>] [-PassThru] [-PasswordNeverExpires <Boolean>]
[-PasswordNotRequired <Boolean>] [-Path <String>] [-POBox <String>] [-PostalCode <String>]
[-PrincipalsAllowedToDelegateToAccount <ADPrincipal[]>] [-ProfilePath <String>]
[-SamAccountName <String>] [-ScriptPath <String>] [-Server <String>]
[-ServicePrincipalNames <String[]>] [-SmartcardLogonRequired <Boolean>] [-State <String>]
[-StreetAddress <String>] [-Surname <String>] [-Title <String>] [-TrustedForDelegation <Boolean>]
[-Type <String>] [-UserPrincipalName <String>] [-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesActive DirectoryCreates an AD FS access control policy.
New-AdfsAccessControlPolicy -Name <String> [-SourceName <String>] [-Identifier <String>]
[-Description <String>] [-PolicyMetadata <PolicyMetadata>] [-PolicyMetadataFile <String>] [-WhatIf] [-Confirm]
[<CommonParameters>]Copied 0 timesActive DirectoryCreates a new organization information object.
New-AdfsOrganization -DisplayName <String> -OrganizationUrl <Uri> [-Name <String>] [<CommonParameters>]Copied 0 timesActive DirectoryCreates an AD FS web theme.
New-AdfsWebTheme -Name <String> [-SourceName <String>] [-StyleSheet <Hashtable[]>]
[-RTLStyleSheetPath <String>] [-OnLoadScriptPath <String>] [-Logo <Hashtable[]>] [-Illustration <Hashtable[]>]
[-AdditionalFileResource <Hashtable[]>] [-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesActive DirectoryLinks a GPO to a site, domain, or OU.
New-GPLink [-Name] <String> -Target <String> [-LinkEnabled <EnableLink>] [-Order <Int32>]
[-Domain <String>] [-Server <String>] [-Enforced <EnforceLink>] [-WhatIf] [-Confirm]
[<CommonParameters>]Copied 0 timesActive DirectoryCreates a Starter GPO.
New-GPStarterGPO [-Name] <String> [-Comment <String>] [-Domain <String>] [-Server <String>]
[-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesActive DirectoryRemoves an Active Directory Domain Services authentication policy object.
Remove-ADAuthenticationPolicy [-WhatIf] [-Confirm] [-AuthType <ADAuthType>] [-Credential <PSCredential>]
[-Identity] <ADAuthenticationPolicy> [-Server <String>] [<CommonParameters>]Copied 0 timesActive DirectoryRemoves an Active Directory Domain Services authentication policy silo object.
Remove-ADAuthenticationPolicySilo [-WhatIf] [-Confirm] [-AuthType <ADAuthType>] [-Credential <PSCredential>]
[-Identity] <ADAuthenticationPolicySilo> [-Server <String>] [<CommonParameters>]Copied 0 timesActive DirectoryRemoves a central access policy from Active Directory.
Remove-ADCentralAccessPolicy [-WhatIf] [-Confirm] [-AuthType <ADAuthType>] [-Credential <PSCredential>]
[-Identity] <ADCentralAccessPolicy> [-Server <String>] [<CommonParameters>]Copied 0 timesActive DirectoryRemoves central access rules from a central access policy in Active Directory.
Remove-ADCentralAccessPolicyMember [-WhatIf] [-Confirm] [-AuthType <ADAuthType>] [-Credential <PSCredential>]
[-Identity] <ADCentralAccessPolicy> [-Members] <ADCentralAccessRule[]> [-PassThru] [-Server <String>]
[<CommonParameters>]Copied 0 timesActive DirectoryRemoves a central access rule from Active Directory.
Remove-ADCentralAccessRule [-WhatIf] [-Confirm] [-AuthType <ADAuthType>] [-Credential <PSCredential>]
[-Identity] <ADCentralAccessRule> [-Server <String>] [<CommonParameters>]Copied 0 timesActive DirectoryRemoves a claim transformation policy object from Active Directory.
Remove-ADClaimTransformPolicy [-WhatIf] [-Confirm] [-AuthType <ADAuthType>] [-Credential <PSCredential>]
[-Identity] <ADClaimTransformPolicy> [-Server <String>] [<CommonParameters>]Copied 0 timesActive DirectoryRemoves a claim type from Active Directory.
Remove-ADClaimType [-WhatIf] [-Confirm] [-AuthType <ADAuthType>] [-Credential <PSCredential>] [-Force]
[-Identity] <ADClaimType> [-Server <String>] [<CommonParameters>]Copied 0 timesActive DirectoryRemoves an Active Directory computer.
Remove-ADComputer [-WhatIf] [-Confirm] [-AuthType <ADAuthType>] [-Credential <PSCredential>]
[-Identity] <ADComputer> [-Partition <String>] [-Server <String>] [<CommonParameters>]Copied 0 timesActive DirectoryRemoves one or more service accounts from a computer.
Remove-ADComputerServiceAccount [-WhatIf] [-Confirm] [-AuthType <ADAuthType>] [-Credential <PSCredential>]
[-Identity] <ADComputer> [-Partition <String>] [-PassThru] [-Server <String>]
[-ServiceAccount] <ADServiceAccount[]> [<CommonParameters>]Copied 0 timesActive DirectoryRemoves users, computers, and groups from the allowed or denied list of a read-only domain controller password replication policy.
Remove-ADDomainControllerPasswordReplicationPolicy [-WhatIf] [-Confirm] -AllowedList <ADPrincipal[]>
[-AuthType <ADAuthType>] [-Credential <PSCredential>] [-Identity] <ADDomainController> [-PassThru]
[-Server <String>] [<CommonParameters>]Copied 0 timesActive DirectoryRemoves an Active Directory fine-grained password policy.
Remove-ADFineGrainedPasswordPolicy [-WhatIf] [-Confirm] [-AuthType <ADAuthType>] [-Credential <PSCredential>]
[-Identity] <ADFineGrainedPasswordPolicy> [-Server <String>] [<CommonParameters>]Copied 0 timesActive DirectoryRemoves one or more users from a fine-grained password policy.
Remove-ADFineGrainedPasswordPolicySubject [-WhatIf] [-Confirm] [-AuthType <ADAuthType>]
[-Credential <PSCredential>] [-Identity] <ADFineGrainedPasswordPolicy> [-Partition <String>] [-PassThru]
[-Server <String>] [-Subjects] <ADPrincipal[]> [<CommonParameters>]Copied 0 timesActive DirectoryRemoves an Active Directory group.
Remove-ADGroup [-WhatIf] [-Confirm] [-AuthType <ADAuthType>] [-Credential <PSCredential>] [-Identity] <ADGroup>
[-Partition <String>] [-Server <String>] [<CommonParameters>]Copied 0 times