This is the built-in help made by Microsoft for the command 'Set-ADClaimType', in PowerShell version 5 - as retrieved from
Windows version 'Microsoft Windows Server 2012 R2 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.
Modify a claim type in Active Directory.
Set-ADClaimType [-Identity] <ADClaimType> [-Add <Hashtable>] [-AppliesToClasses <String[]>] [-AuthType {Negotiate | Basic}] [-Clear <String[]>] [-Credential <PSCredential>]
[-Description <String>] [-DisplayName <String>] [-Enabled <Boolean>] [-PassThru] [-ProtectedFromAccidentalDeletion <Boolean>] [-Remove <Hashtable>] [-Replace <Hashtable>]
[-RestrictValues <Boolean>] [-Server <String>] [-SuggestedValues <ADSuggestedValueEntry[]>] -SourceTransformPolicy [-Confirm] [-WhatIf] [<CommonParameters>]
Set-ADClaimType [-Identity] <ADClaimType> [-Add <Hashtable>] [-AppliesToClasses <String[]>] [-AuthType {Negotiate | Basic}] [-Clear <String[]>] [-Credential <PSCredential>]
[-Description <String>] [-DisplayName <String>] [-Enabled <Boolean>] [-PassThru] [-ProtectedFromAccidentalDeletion <Boolean>] [-Remove <Hashtable>] [-Replace <Hashtable>]
[-RestrictValues <Boolean>] [-Server <String>] [-SuggestedValues <ADSuggestedValueEntry[]>] -SourceAttribute <String> [-Confirm] [-WhatIf] [<CommonParameters>]
Set-ADClaimType [-Identity] <ADClaimType> [-Add <Hashtable>] [-AppliesToClasses <String[]>] [-AuthType {Negotiate | Basic}] [-Clear <String[]>] [-Credential <PSCredential>]
[-Description <String>] [-DisplayName <String>] [-Enabled <Boolean>] [-PassThru] [-ProtectedFromAccidentalDeletion <Boolean>] [-Remove <Hashtable>] [-Replace <Hashtable>]
[-RestrictValues <Boolean>] [-Server <String>] -SourceOID <String> [-Confirm] [-WhatIf] [<CommonParameters>]
Set-ADClaimType [-Identity] <ADClaimType> [-Add <Hashtable>] [-AppliesToClasses <String[]>] [-AuthType {Negotiate | Basic}] [-Clear <String[]>] [-Credential <PSCredential>]
[-Description <String>] [-DisplayName <String>] [-Enabled <Boolean>] [-PassThru] [-ProtectedFromAccidentalDeletion <Boolean>] [-Remove <Hashtable>] [-Replace <Hashtable>]
[-RestrictValues <Boolean>] [-Server <String>] [-SuggestedValues <ADSuggestedValueEntry[]>] [-Confirm] [-WhatIf] [<CommonParameters>]
Set-ADClaimType [-AuthType {Negotiate | Basic}] [-Credential <PSCredential>] [-PassThru] [-Server <String>] -Instance <ADClaimType> [-Confirm] [-WhatIf] [<CommonParameters>]
The Set-ADClaimType cmdlet can be used to modify a claim type in Active Directory.
<
Online Version: http://go.microsoft.com/fwlink/p/?linkid=291113
<
-------------------------- EXAMPLE 1 --------------------------
PS C:\>Set-ADClaimType -Identity Title -SourceAttribute "title"
This command sets the user claim type with display name Title to source from the Active Directory attribute title.
-------------------------- EXAMPLE 2 --------------------------
PS C:\>$fullTime = New-Object Microsoft.ActiveDirectory.Management.ADSuggestedValueEntry("FTE", "Full-Time", "Full-time employee")
PS C:\> $intern = New-Object Microsoft.ActiveDirectory.Management.ADSuggestedValueEntry("Intern", "Intern", "Student employee")
PS C:\> $contractor = New-Object Microsoft.ActiveDirectory.Management.ADSuggestedValueEntry("Contractor", "Contractor", "Contract employee")
PS C:\> Set-ADClaimType -Identity "Employee Type" -SuggestedValues $fullTime,$intern,$contractor
This example 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 --------------------------
PS C:\>Set-ADclaimType -Identity "Bitlocker Enabled" -SourceOID "1.3.6.1.4.1.311.67.1.1" -Enabled $False
This example sets the source OID of the claim type with display name Bitlocker Enabled to 1.3.6.1.4.1.311.67.1.1, and disables the claim type.
-------------------------- EXAMPLE 4 --------------------------
PS C:\>Set-ADClaimType -Identity SourceForest -SourceTransformPolicy
This command sets the claim type named SourceForest to source from the claims transformation policy engine.