PowerShell Logo Small

Set-ADClaimType



This is the built-in help made by Microsoft for the command 'Set-ADClaimType', in PowerShell version 3 - as retrieved from Windows version 'Microsoft Windows Server 2012 Standard' PowerShell help files on 2016-06-23.

For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.

SYNOPSIS

Modify a claim type in Active Directory.

SYNTAX


Set-ADClaimType [-Identity] <ADClaimType> [-Add <Hashtable>] [-AppliesToClasses <String[]>] [-AuthType <ADAuthType>] [-Clear <String[]>]
[-Credential <PSCredential>] [-Description <String>] [-DisplayName <String>] [-Enabled <Boolean>] [-PassThru [<SwitchParameter>]]
[-ProtectedFromAccidentalDeletion <Boolean>] [-Remove <Hashtable>] [-Replace <Hashtable>] [-RestrictValues <Boolean>] [-Server <String>]
[-SuggestedValues <ADSuggestedValueEntry[]>] [-Confirm [<SwitchParameter>]] [-WhatIf [<SwitchParameter>]] [<CommonParameters>]
Set-ADClaimType [-Identity] <ADClaimType> [-Add <Hashtable>] [-AppliesToClasses <String[]>] [-AuthType <ADAuthType>] [-Clear <String[]>]
[-Credential <PSCredential>] [-Description <String>] [-DisplayName <String>] [-Enabled <Boolean>] [-PassThru [<SwitchParameter>]]
[-ProtectedFromAccidentalDeletion <Boolean>] [-Remove <Hashtable>] [-Replace <Hashtable>] [-RestrictValues <Boolean>] [-Server <String>]
-SourceOID <String> [-Confirm [<SwitchParameter>]] [-WhatIf [<SwitchParameter>]] [<CommonParameters>]
Set-ADClaimType [-Identity] <ADClaimType> [-Add <Hashtable>] [-AppliesToClasses <String[]>] [-AuthType <ADAuthType>] [-Clear <String[]>]
[-Credential <PSCredential>] [-Description <String>] [-DisplayName <String>] [-Enabled <Boolean>] [-PassThru [<SwitchParameter>]]
[-ProtectedFromAccidentalDeletion <Boolean>] [-Remove <Hashtable>] [-Replace <Hashtable>] [-RestrictValues <Boolean>] [-Server <String>]
[-SuggestedValues <ADSuggestedValueEntry[]>] -SourceTransformPolicy [<SwitchParameter>] [-Confirm [<SwitchParameter>]] [-WhatIf
[<SwitchParameter>]] [<CommonParameters>]
Set-ADClaimType [-Identity] <ADClaimType> [-Add <Hashtable>] [-AppliesToClasses <String[]>] [-AuthType <ADAuthType>] [-Clear <String[]>]
[-Credential <PSCredential>] [-Description <String>] [-DisplayName <String>] [-Enabled <Boolean>] [-PassThru [<SwitchParameter>]]
[-ProtectedFromAccidentalDeletion <Boolean>] [-Remove <Hashtable>] [-Replace <Hashtable>] [-RestrictValues <Boolean>] [-Server <String>]
[-SuggestedValues <ADSuggestedValueEntry[]>] -SourceAttribute <String> [-Confirm [<SwitchParameter>]] [-WhatIf [<SwitchParameter>]]
[<CommonParameters>]
Set-ADClaimType [-AuthType <ADAuthType>] [-Credential <PSCredential>] [-PassThru [<SwitchParameter>]] [-Server <String>] -Instance
<ADClaimType> [-Confirm [<SwitchParameter>]] [-WhatIf [<SwitchParameter>]] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Set-ADClaimType cmdlet can be used to modify a claim type in Active Directory.



<

RELATED LINKS


Online Version: http://go.microsoft.com/fwlink/?LinkId=216411

REMARKS

<

Examples


-------------------------- EXAMPLE 1 --------------------------

C:\PS>Set-ADClaimType Title -SourceAttribute title



Description

-----------

Sets the user claim type with display name 'Title' to source from the Active Directory attribute 'title'.




-------------------------- EXAMPLE 2 --------------------------

C:\PS>$fullTime = New-Object Microsoft.ActiveDirectory.Management.ADSuggestedValueEntry("FTE", "Full-Time", "Full-time employee");
$intern = New-Object Microsoft.ActiveDirectory.Management.ADSuggestedValueEntry("Intern", "Intern", "Student employee");
$contractor = New-Object Microsoft.ActiveDirectory.Management.ADSuggestedValueEntry("Contractor", "Contractor", "Contract employee");
Set-ADClaimType "Employee Type" -SuggestedValues $fullTime,$intern,$contractor



Description

-----------

Sets the suggested values of the user claim type with display name 'Employee Type' to 'FTE', 'Intern', and 'Contractor. Applications using
this claim type would allow their users to specify one of the suggested values as this claim type's value.




-------------------------- EXAMPLE 3 --------------------------

C:\PS>Set-ADclaimType "Bitlocker Enabled" -SourceOID "1.3.6.1.4.1.311.67.1.1" -Enabled $FALSE



Description

-----------

Set the source OID of the claim type with display name 'Bitlocker Enabled' to '1.3.6.1.4.1.311.67.1.1'. Disable the claim type.




-------------------------- EXAMPLE 4 --------------------------

PS C:\>Set-ADClaimType SourceForest -SourceTransformPolicy



Description

-----------

Sets the claim type named 'SourceForest' to source from the claims transformation policy engine.