Get-Adfs
Claim
Description
Syntax
Get-AdfsClaimDescription
[[-Name] <String[]>]
[<CommonParameters>]
Get-AdfsClaimDescription
-ClaimType <String[]>
[<CommonParameters>]
Get-AdfsClaimDescription
-ShortName <String[]>
[<CommonParameters>]
Description
The Get-AdfsClaimDescription cmdlet gets claim descriptions from the Federation Service. Claim descriptions describe the claims that the Federation Service uses. Claim descriptions also describe how claims are published in federation metadata. You can use this cmdlet without parameters to get all claim descriptions in the Federation Service.
Examples
Example 1: Get a claim description
PS C:\> Get-AdfsClaimDescription | Where -Object {$_.IsOffered}
This command gets the list of claim descriptions that the Federation Service offers.
Required Parameters
Specifies an array of claim type URNs or URIs of the claim. The cmdlet gets the claim descriptions for the claims that you specify.
Type: | String[] |
Position: | Named |
Default value: | None |
Accept pipeline input: | True (ByValue) |
Accept wildcard characters: | False |
Specifies the unique short name ID for the claim description that is used for issuing and consuming JWT tokens.
Type: | String[] |
Position: | Named |
Default value: | None |
Accept pipeline input: | True (ByValue) |
Accept wildcard characters: | False |
Optional Parameters
Specifies an array of names of claim descriptions to get.
Type: | String[] |
Position: | 0 |
Default value: | None |
Accept pipeline input: | True (ByPropertyName, ByValue) |
Accept wildcard characters: | False |
Inputs
None
Outputs
Microsoft.IdentityServer.PowerShell.Resources.ClaimDescription
This cmdlet generates a class structure that represents the claim description resources for the Federation Service.
Notes
- Use claim descriptions to configure the list of claims available to be offered or accepted by Active Directory Federation Services (AD FS) 2.0.