Get-SCSPFTrustedIssuer
Gets one or more trusted issuer objects.
Syntax
Get-SCSpfTrustedIssuer []
Get-SCSPFTrustedIssuer
-Name <String[]>
[<CommonParameters>]
Get-SCSPFTrustedIssuer
-ID <Guid[]>
[<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: | System.Guid[] |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Name
Specifies the name of one or more trusted issuers.
Type: | System.String[] |
Position: | Named |
Default value: | None |
Required: | True |
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: | Microsoft.SystemCenter.Foundation.SPFData.Types.Tenant |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Inputs
Microsoft.SystemCenter.Foundation.SPFData.Types.Tenant
Outputs
System.Object