Get-SCSPFTrustedIssuer
Gets one or more trusted issuer objects.
Syntax
Empty (Default)
Get-SCSPFTrustedIssuer
[<CommonParameters>]
FromIssuerNameParameterSetName
Get-SCSPFTrustedIssuer
-Name <String[]>
[<CommonParameters>]
FromIssuerIdParameterSetName
Get-SCSPFTrustedIssuer
-ID <Guid[]>
[<CommonParameters>]
FromIssuerTenantParameterSetName
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.
Parameter properties
Type: | System.Guid[] |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
FromIssuerIdParameterSetName
Position: | Named |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-Name
Specifies the name of one or more trusted issuers.
Parameter properties
Type: | System.String[] |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
FromIssuerNameParameterSetName
Position: | Named |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-Tenant
Specifies a tenant for which this cmdlet returns associated trusted issuers. To obtain a tenant, use the Get-SCSPFTenant cmdlet.
Parameter properties
Type: | Microsoft.SystemCenter.Foundation.SPFData.Types.Tenant |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
FromIssuerTenantParameterSetName
Position: | Named |
Mandatory: | True |
Value from pipeline: | True |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.