Get-CMCertificateProfileTrustedRootCA

Gets a trusted CA certificate profile.

Syntax

Get-CMCertificateProfileTrustedRootCA
   [-Fast]
   [<CommonParameters>]
Get-CMCertificateProfileTrustedRootCA
   [-Id] <Int32>
   [-Fast]
   [<CommonParameters>]
Get-CMCertificateProfileTrustedRootCA
   [-Name] <String>
   [-Fast]
   [<CommonParameters>]

Description

The Get-CMCertificateProfileTrustedRootCA function gets a trusted CA certificate profile.

Note

Run Configuration Manager cmdlets from the Configuration Manager site drive, for example PS XYZ:\>. For more information, see getting started.

Examples

Example 1: Get a trusted CA certificate profile by ID

PS XYZ:\> Get-CMCertificateProfileTrustedRootCA -Id 16777479

This command gets the trusted CA certificate profile with the ID 16777479.

Example 2: Get a trusted CA certificate profile by name

PS XYZ:\> Get-CMCertificateProfileTrustedRootCA -Name "Test01" -Fast

This command gets the trusted CA certificate profile named Test01, but does not return lazy properties.

Parameters

-Fast

Indicates that the cmdlet does not automatically refresh lazy properties.

Lazy properties contain values that are relatively inefficient to retrieve which can cause additional network traffic and decrease cmdlet performance. If lazy properties are not used, this parameter should be specified.

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Id

Specifies the ID of a trusted CA certificate profile.

Type:Int32
Aliases:CIId, CI_ID
Position:0
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-Name

Specifies the name of a trusted CA certificate profile.

Type:String
Position:0
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:True

Inputs

None

Outputs

System.Object