Get-SCSPFTrustedIssuer

Get-SCSPFTrustedIssuer

Gets one or more trusted issuer objects.

Syntax

Parameter Set: FromIssuerIdParameterSetName
Get-SCSPFTrustedIssuer -ID <Guid[]> [ <CommonParameters>]

Parameter Set: FromIssuerNameParameterSetName
Get-SCSPFTrustedIssuer -Name <String[]> [ <CommonParameters>]

Parameter Set: FromIssuerTenantParameterSetName
Get-SCSPFTrustedIssuer -Tenant <Tenant> [ <CommonParameters>]

Detailed 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.

Parameters

-ID<Guid[]>

Specifies one or more identifiers (as a GUID) for a specific object.

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Name<String[]>

Specifies the name of one or more trusted issuers.

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Tenant<Tenant>

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

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByValue)

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

Examples

1: Get all trusted issuers.

This command lists all the trusted issuers.

PS C:\> Get-SCSPFTrustedIssuer

2: Get a trusted issuer by its ID.

This command gets a trusted issuer by its ID.

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

3: Get a trusted issuer by its name.

This command gets a trusted issuer by its name.

PS C:\> $ti = Get-SCSPFTrustedIssuer -Name "Woodgrove"

4: Get the trusted issuer that is associated with a tenant.

The first command gets a tenant.

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

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

Remove-SCSPFTrustedIssuer

New-SCSPFTrustedIssuer