COMMAND EVERYTHING.
Practical commands. Clear explanations. Authoritative sources.
2557 published commands · 2545 documentation-verified · 12 awaiting review · Ask Cmdlet AI
Modifies an Active Directory Domain Services authentication policy object.
Set-ADAuthenticationPolicy [-WhatIf] [-Confirm] [-Add <Hashtable>] [-AuthType <ADAuthType>] [-Clear <String[]>]
[-ComputerAllowedToAuthenticateTo <String>] [-ComputerTGTLifetimeMins <Int32>] [-Credential <PSCredential>]
[-Description <String>] [-Enforce <Boolean>] [-Identity] <ADAuthenticationPolicy> [-PassThru]
[-ProtectedFromAccidentalDeletion <Boolean>] [-Remove <Hashtable>] [-Replace <Hashtable>]
[-RollingNTLMSecret <ADStrongNTLMPolicyType>] [-Server <String>] [-ServiceAllowedToAuthenticateFrom <String>]
[-ServiceAllowedToAuthenticateTo <String>] [-ServiceAllowedNTLMNetworkAuthentication <Boolean>]
[-ServiceTGTLifetimeMins <Int32>] [-UserAllowedToAuthenticateFrom <String>]
[-UserAllowedToAuthenticateTo <String>] [-UserAllowedNTLMNetworkAuthentication <Boolean>]
[-UserTGTLifetimeMins <Int32>] [<CommonParameters>]Copied 0 timesActive DirectoryModifies an Active Directory Domain Services authentication policy silo object.
Set-ADAuthenticationPolicySilo [-WhatIf] [-Confirm] [-Add <Hashtable>] [-AuthType <ADAuthType>]
[-Clear <String[]>] [-ComputerAuthenticationPolicy <ADAuthenticationPolicy>] [-Credential <PSCredential>]
[-Description <String>] [-Enforce <Boolean>] [-Identity] <ADAuthenticationPolicySilo> [-PassThru]
[-ProtectedFromAccidentalDeletion <Boolean>] [-Remove <Hashtable>] [-Replace <Hashtable>] [-Server <String>]
[-ServiceAuthenticationPolicy <ADAuthenticationPolicy>] [-UserAuthenticationPolicy <ADAuthenticationPolicy>]
[<CommonParameters>]Copied 0 timesActive DirectoryModifies a central access policy in Active Directory.
Set-ADCentralAccessPolicy [-WhatIf] [-Confirm] [-Add <Hashtable>] [-AuthType <ADAuthType>] [-Clear <String[]>]
[-Credential <PSCredential>] [-Description <String>] [-Identity] <ADCentralAccessPolicy> [-PassThru]
[-ProtectedFromAccidentalDeletion <Boolean>] [-Remove <Hashtable>] [-Replace <Hashtable>] [-Server <String>]
[<CommonParameters>]Copied 0 timesActive DirectoryApplies a claims transformation to one or more cross-forest trust relationships in Active Directory.
Set-ADClaimTransformLink [-WhatIf] [-Confirm] [-AuthType <ADAuthType>] [-Credential <PSCredential>]
[-Identity] <ADTrust> [-PassThru] [-Policy] <ADClaimTransformPolicy> [-Server <String>]
-TrustRole <ADTrustRole> [<CommonParameters>]Copied 0 timesActive DirectorySets the properties of a claims transformation policy in Active Directory.
Set-ADClaimTransformPolicy [-WhatIf] [-Confirm] [-Add <Hashtable>] [-AuthType <ADAuthType>] [-Clear <String[]>]
[-Credential <PSCredential>] [-DenyAll] [-Description <String>] [-Identity] <ADClaimTransformPolicy>
[-PassThru] [-ProtectedFromAccidentalDeletion <Boolean>] [-Remove <Hashtable>] [-Replace <Hashtable>]
[-Server <String>] [<CommonParameters>]Copied 0 timesActive DirectoryModify a claim type in Active Directory.
Set-ADClaimType [-WhatIf] [-Confirm] [-Add <Hashtable>] [-AppliesToClasses <String[]>] [-AuthType <ADAuthType>]
[-Clear <String[]>] [-Credential <PSCredential>] [-Description <String>] [-DisplayName <String>]
[-Enabled <Boolean>] [-Identity] <ADClaimType> [-PassThru] [-ProtectedFromAccidentalDeletion <Boolean>]
[-Remove <Hashtable>] [-Replace <Hashtable>] [-RestrictValues <Boolean>] [-Server <String>]
-SourceAttribute <String> [-SuggestedValues <ADSuggestedValueEntry[]>] [<CommonParameters>]Copied 0 timesActive DirectoryModifies an Active Directory computer object.
Set-ADComputer [-WhatIf] [-Confirm] [-AccountExpirationDate <DateTime>] [-AccountNotDelegated <Boolean>]
[-Add <Hashtable>] [-AllowReversiblePasswordEncryption <Boolean>]
[-AuthenticationPolicy <ADAuthenticationPolicy>] [-AuthenticationPolicySilo <ADAuthenticationPolicySilo>]
[-AuthType <ADAuthType>] [-CannotChangePassword <Boolean>] [-Certificates <Hashtable>]
[-ChangePasswordAtLogon <Boolean>] [-Clear <String[]>] [-CompoundIdentitySupported <Boolean>]
[-Credential <PSCredential>] [-Description <String>] [-DisplayName <String>] [-DNSHostName <String>]
[-Enabled <Boolean>] [-HomePage <String>] [-Identity] <ADComputer>
[-KerberosEncryptionType <ADKerberosEncryptionType>] [-Location <String>] [-ManagedBy <ADPrincipal>]
[-OperatingSystem <String>] [-OperatingSystemHotfix <String>] [-OperatingSystemServicePack <String>]
[-OperatingSystemVersion <String>] [-Partition <String>] [-PassThru] [-PasswordNeverExpires <Boolean>]
[-PasswordNotRequired <Boolean>] [-PrincipalsAllowedToDelegateToAccount <ADPrincipal[]>] [-Remove <Hashtable>]
[-Replace <Hashtable>] [-SAMAccountName <String>] [-Server <String>] [-ServicePrincipalNames <Hashtable>]
[-TrustedForDelegation <Boolean>] [-UserPrincipalName <String>] [<CommonParameters>]Copied 0 timesActive DirectoryModifies the default password policy for an Active Directory domain.
Set-ADDefaultDomainPasswordPolicy [-WhatIf] [-Confirm] [-AuthType <ADAuthType>] [-ComplexityEnabled <Boolean>]
[-Credential <PSCredential>] [-Identity] <ADDefaultDomainPasswordPolicy> [-LockoutDuration <TimeSpan>]
[-LockoutObservationWindow <TimeSpan>] [-LockoutThreshold <Int32>] [-MaxPasswordAge <TimeSpan>]
[-MinPasswordAge <TimeSpan>] [-MinPasswordLength <Int32>] [-PassThru] [-PasswordHistoryCount <Int32>]
[-ReversibleEncryptionEnabled <Boolean>] [-Server <String>] [<CommonParameters>]Copied 0 timesActive DirectoryModifies an Active Directory domain.
Set-ADDomain [-WhatIf] [-Confirm] [-Add <Hashtable>] [-AllowedDNSSuffixes <Hashtable>] [-AuthType <ADAuthType>]
[-Clear <String[]>] [-Credential <PSCredential>] [-Identity] <ADDomain>
[-LastLogonReplicationInterval <TimeSpan>] [-ManagedBy <ADPrincipal>] [-PassThru]
[-PublicKeyRequiredPasswordRolling <Boolean>] [-Remove <Hashtable>] [-Replace <Hashtable>] [-Server <String>]
[<CommonParameters>]Copied 0 timesActive DirectorySets the domain mode for an Active Directory domain.
Set-ADDomainMode [-WhatIf] [-Confirm] [-AuthType <ADAuthType>] [-Credential <PSCredential>]
[-DomainMode] <ADDomainMode> [-Identity] <ADDomain> [-PassThru] [-Server <String>]
[<CommonParameters>]Copied 0 timesActive DirectoryModifies an Active Directory fine-grained password policy.
Set-ADFineGrainedPasswordPolicy [-WhatIf] [-Confirm] [-Add <Hashtable>] [-AuthType <ADAuthType>]
[-Clear <String[]>] [-ComplexityEnabled <Boolean>] [-Credential <PSCredential>] [-Description <String>]
[-DisplayName <String>] [-Identity] <ADFineGrainedPasswordPolicy> [-LockoutDuration <TimeSpan>]
[-LockoutObservationWindow <TimeSpan>] [-LockoutThreshold <Int32>] [-MaxPasswordAge <TimeSpan>]
[-MinPasswordAge <TimeSpan>] [-MinPasswordLength <Int32>] [-PassThru] [-PasswordHistoryCount <Int32>]
[-Precedence <Int32>] [-ProtectedFromAccidentalDeletion <Boolean>] [-Remove <Hashtable>]
[-Replace <Hashtable>] [-ReversibleEncryptionEnabled <Boolean>] [-Server <String>] [<CommonParameters>]Copied 0 timesActive DirectoryModifies an Active Directory forest.
Set-ADForest [-WhatIf] [-Confirm] [-AuthType <ADAuthType>] [-Credential <PSCredential>] [-Identity] <ADForest>
[-PassThru] [-Server <String>] [-SPNSuffixes <Hashtable>] [-UPNSuffixes <Hashtable>] [<CommonParameters>]Copied 0 timesActive DirectorySets the global rules that provide the trigger for additional authentication providers to be invoked.
Set-AdfsAdditionalAuthenticationRule [-AdditionalAuthenticationRules] <String> [-PassThru] [-WhatIf] [-Confirm]
[<CommonParameters>]Copied 0 timesActive DirectoryConfigures an existing AD FS deployment to use the same port for both device certificate and client certificate authentication.
Set-AdfsAlternateTlsClientBinding [-Thumbprint <String>] [-Member <String[]>] [-Force <Boolean>] [-WhatIf]
[-Confirm] [<CommonParameters>]Copied 0 timesActive DirectoryModifies a display name and description.
Set-AdfsAuthenticationProviderWebContent [-DisplayName <String>] [-Description <String>]
[-UserNotProvisionedErrorMessage <String>] [-PassThru] [[-Locale] <CultureInfo>] -Name <String> [-WhatIf]
[-Confirm] [<CommonParameters>]Copied 0 timesActive DirectorySets the properties of an existing certificate that AD FS uses to sign, decrypt, or secure communications.
Set-AdfsCertificate -CertificateType <String> -Thumbprint <String> [-IsPrimary] [-PassThru] [-WhatIf]
[-Confirm] [<CommonParameters>]Copied 0 timesActive DirectoryModifies the properties of a claim description.
Set-AdfsClaimDescription [-IsAccepted <Boolean>] [-IsOffered <Boolean>] [-IsRequired <Boolean>]
[-Notes <String>] [-Name <String>] [-ClaimType <String>] [-ShortName <String>] [-TargetName] <String>
[-PassThru] [-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesActive DirectorySets the properties of a claims provider trust.
Set-AdfsClaimsProviderTrust [-Name <String>] [-Identifier <String>] [-SignatureAlgorithm <String>]
[-TokenSigningCertificate <X509Certificate2[]>] [-MetadataUrl <Uri>] [-AcceptanceTransformRules <String>]
[-AcceptanceTransformRulesFile <String>] [-AllowCreate <Boolean>] [-AutoUpdateEnabled <Boolean>]
[-CustomMFAUri <Uri>] [-SupportsMFA <Boolean>] [-WSFedEndpoint <Uri>]
[-EncryptionCertificate <X509Certificate2>] [-EncryptionCertificateRevocationCheck <String>]
[-MonitoringEnabled <Boolean>] [-Notes <String>] [-OrganizationalAccountSuffix <String[]>]
[-LookupForests <String[]>] [-AlternateLoginID <String>] [-Force] [-ClaimOffered <ClaimDescription[]>]
[-SamlEndpoint <SamlEndpoint[]>] [-ProtocolProfile <String>] [-RequiredNameIdFormat <Uri>]
[-EncryptedNameIdRequired <Boolean>] [-SignedSamlRequestsRequired <Boolean>]
[-SamlAuthenticationRequestIndex <UInt16>] [-SamlAuthenticationRequestParameters <String>]
[-SamlAuthenticationRequestProtocolBinding <String>] [-SigningCertificateRevocationCheck <String>]
[-PromptLoginFederation <PromptLoginFederation>] [-PromptLoginFallbackAuthenticationType <String>]
[-AnchorClaimType <String>] -TargetName <String> [-PassThru] [-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesActive DirectoryModifies registration settings for an OAuth 2.0 client registered with AD FS.
Set-AdfsClient [-Force] [-TargetName] <String> [-ClientId <String>] [-Name <String>] [-RedirectUri <String[]>]
[-Description <String>] [-ADUserPrincipalName <String>] [-JWTSigningCertificate <X509Certificate2[]>]
[-JWTSigningCertificateRevocationCheck <RevocationSetting>] [-ChangeClientSecret] [-ResetClientSecret]
[-JWKSUri <Uri>] [-ReloadJWTSigningKeys] [-JWKSFile <String>] [-LogoutUri <String>] [-PassThru] [-WhatIf]
[-Confirm] [<CommonParameters>]Copied 0 timesActive DirectoryConfigures the administrative policies for the Device Registration Service.
Set-AdfsDeviceRegistration -DevicesPerUser <UInt32> [-AccessControlPolicyName <String>]
[-AccessControlPolicyParameters <Object>] [-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesActive DirectorySets the list of UPN suffixes.
Set-AdfsDeviceRegistrationUpnSuffix [-Force] [-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesActive DirectorySets the endpoint on a Web Application Proxy.
Set-AdfsEndpoint [[-TargetAddressPath] <String>] -Proxy <Boolean> [-PassThru] [-WhatIf] [-Confirm]
[<CommonParameters>]Copied 0 timesActive DirectoryRemoves a stale or offline farm node from the farm information table.
Set-AdfsFarmInformation [-RemoveNode <String[]>] [-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 timesActive DirectoryModifies the AD FS global policy.
Set-AdfsGlobalAuthenticationPolicy [-AdditionalAuthenticationProvider <String[]>]
[-DeviceAuthenticationEnabled <Boolean>] [-DeviceAuthenticationMethod <DeviceAuthenticationMethod>]
[-AllowDeviceAuthAsPrimaryForDomainJoinedDevices <Boolean>]
[-PrimaryExtranetAuthenticationProvider <String[]>] [-PrimaryIntranetAuthenticationProvider <String[]>]
[-WindowsIntegratedFallbackEnabled <Boolean>] [-ClientAuthenticationMethods <ClientAuthenticationMethod>]
[-PassThru] [-WhatIf] [-Confirm] [<CommonParameters>]Copied 0 times