Get-SCSpfTrustedIssuer

Gets one or more trusted issuer objects.

Syntax

Get-SCSpfTrustedIssuer -ID <Guid[]> [<CommonParameters>]
Get-SCSpfTrustedIssuer -Name <String[]> [<CommonParameters>]
Get-SCSpfTrustedIssuer -Tenant <Tenant> [<CommonParameters>]

Description

The Get-SCSPFTrustedIssuer cmdlet gets one or more trusted issuer objects in Service Provider Foundation. To create a trusted issuer, use the New-SCSPFTrustedIssuer cmdlet.

Examples

Example 1: Get all trusted issuers

PS C:\>Get-SCSPFTrustedIssuer

This command gets all trusted issuers.

Example 2: Get a trusted issuer by ID

PS C:\>$TrustedIssuer = Get-SCSPFTrustedIssuer -ID c9f59be2-dce5-4221-ad60-2204dc457bd8

This command gets a trusted issuer by its ID.

Example 3: Get a trusted issuer by name

PS C:\>$TrustedIssuer = Get-SCSPFTrustedIssuer -Name "Contoso"

This command gets a trusted issuer by its name.

Example 4: Get the trusted issuer associated with a tenant

PS C:\>$Contoso = Get-SCSPFTenant -Name "Contoso"
PS C:\> $TrustedIssuer = Get-SCSPFTrustedIssuer -Tenant $Contoso

The first command gets a tenant.

The second command gets the trusted issuer associated with the tenant.

Parameters

-ID

Specifies one or more GUIDs for a specific object.

Type:Guid[]
Required:True
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Name

Specifies the name of one or more trusted issuers.

Type:String[]
Required:True
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Tenant

Specifies a tenant for which this cmdlet returns associated trusted issuers. To obtain a tenant, use the Get-SCSPFTenant cmdlet.

Type:Tenant
Required:True
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False