Get-RDCertificate
Get-RDCertificate
Gets certificates associated with RDS roles.
구문
Parameter Set: Default
Get-RDCertificate [[-Role] <RDCertificateRole> ] [-ConnectionBroker <String> ] [ <CommonParameters>]
자세한 설명
The Get-RDCertificate cmdlet gets certificates associated with Remote Desktop Services (RDS) roles.
This cmdlet modifies an object that contains the following information:
-- Subject. The subject of the certificate.
-- SubjectAlternateName. A list of subject alternative name entries of the certificate.
-- IssuedBy. Common name of the issuer of the certificate.
-- IssuedTo. Common name of the IssuedTo field of the certificate.
-- ExpiresOn. Expiration date of the certificate.
-- Thumbprint. Thumbprint of the certificate.
-- Role. Remote desktop role service name. The possible roles are: RDGateway, RDWebAccess, RDRedirector, and RDPublishing.
-- Level. Certification level.
The certification levels are:
-- Not Configured. The role service is not configured with a certificate or the certificate is not valid.
-- Untrusted. The role service is configured with a self-signed certificate.
-- Trusted. The role service is configured with either enterprise certificate or public certificate.
매개 변수
-ConnectionBroker<String>
Specifies the Remote Desktop Connection Broker (RD Connection Broker) server for a Remote Desktop deployment. If you do not specify a value, the cmdlet uses the fully qualified domain name (FQDN) of the local computer.
별칭 |
없음 |
필수 여부 |
false |
위치 |
named |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
-Role<RDCertificateRole>
Specifies a certificate type associated with an RDS server role. 이 매개 변수에 허용되는 값은 다음과 같습니다.
-- RDGateway
-- RDWebAccess
-- RDRedirector
-- RDPublishing
별칭 |
없음 |
필수 여부 |
false |
위치 |
1 |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
<CommonParameters>
이 cmdlet은 일반 매개 변수 -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer 및 -OutVariable을 지원합니다. 자세한 내용은 다음을 참조하세요. about_CommonParameters(https://go.microsoft.com/fwlink/p/?LinkID=113216).
입력
입력 유형은 cmdlet에 파이프할 수 있는 개체의 유형입니다.
출력
출력 유형은 cmdlet이 내보내는 개체의 유형입니다.
- System.Object
예제
Example 1: Get certificates for an RD Connection Broker
This command gets certificates for server roles for the RD Connection Broker server named RDConnectionBroker.Contoso.com.
PS C:\> Get-RDCertificate -ConnectionBroker "RDConnectionBroker.Contoso.com"