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 GUIDs 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 returns 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: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see    about_CommonParameters.

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

Example 1: Get all trusted issuers

This command gets all trusted issuers.


PS C:\> Get-SCSPFTrustedIssuer

Example 2: Get a trusted issuer by ID

This command gets a trusted issuer by its ID.


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

Example 3: Get a trusted issuer by name

This command gets a trusted issuer by its name.


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

Example 4: Get the trusted issuer 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:\> $TrustedIssuer = Get-SCSPFTrustedIssuer -Tenant $Contoso

Related topics

Community Additions

ADD
Show: