Get-FasMsCertificateAuthority
Synopsis
Retrieve information about the Microsoft Certificate Authorities installed in the domain.
Syntax
Get-FasMsCertificateAuthority [-Address <String>] [-Default <Boolean>] [<CommonParameters>]
<!--NeedCopy-->
Description
This commandlet retrieves information about the Microsoft Certificate Authorities installed in the domain.
The information returned for each Certificate Authority is:
- The unique identifying addresses of the CA
- An “IsDefault” flag indicating if this is the default (or “primary”) CA in the domain
- An “IsAccessible” flag indicating if the CA can be accessed
- The templates published on the CA (but only if the CA is accessible)
The CA may not be accessible either because the user running this cmdlet does not have permission, or because the CA could not be contacted. The IsAccessible flag is provided to distinguish between a CA which is publishing no templates, and a CA which cannot be accessed. Note that the IsDefault flag is for informational purposes only, and does not have any effect on the functioning of FAS.
Examples
Example 1
PS C:\>
C:\PS> Get-FasMsCertificateAuthority -Default
<!--NeedCopy-->
Description
This command retrieves the address of the default Microsoft Certificate Authority in this domain.
Parameters
-Address
Specifies the address of the Microsoft Certificate Authority to retrieve information about (or list them all)
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: $NULL
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
<!--NeedCopy-->
-Default
Return the default or primary Microsoft Certificate Authority in the current domain.
Type: Boolean
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: $FALSE
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
<!--NeedCopy-->
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
Variable, based on property name.
This cmdlet does accept input from the pipeline but only by property name.
Outputs
void
This cmdlet returns a list of Microsoft Certificate Authority objects.