Enable-MSMQCertificate
Enable-MSMQCertificate
Registers a certificate with Active Directory 도메인 서비스.
구문
Parameter Set: InputObject
Enable-MSMQCertificate -InputObject <X509Certificate2> [ <CommonParameters>]
Parameter Set: RenewInternalCertificate
Enable-MSMQCertificate -RenewInternalCertificate [ <CommonParameters>]
자세한 설명
The Enable-MsmqCertificate cmdlet registers a certificate with Active Directory® 도메인 서비스. If you specify the RenewInternalCertificate parameter, the cmdlet generates a certificate in your personal certificate store and registers the certificate with Active Directory 도메인 서비스. The cmdlet returns a System.Security.Cryptography.X509Certificates.X509Certificate object that represents the enabled certificate.
매개 변수
-InputObject<X509Certificate2>
Specifies a certificate object that represents a certificate that this cmdlet registers with Active Directory 도메인 서비스. If you specify the RenewInternalCertificate parameter, you cannot specify this parameter.
별칭 |
없음 |
필수 여부 |
true |
위치 |
named |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
true (ByValue) |
와일드카드 문자 허용 여부 |
false |
-RenewInternalCertificate
Indicates that this cmdlet generates a certificate in the personal certificate store of the user, and registers that certificate with Active Directory 도메인 서비스. If you pass a certificate to this cmdlet by using the pipeline operator, you cannot specify this parameter.
별칭 |
없음 |
필수 여부 |
true |
위치 |
named |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
<CommonParameters>
이 cmdlet은 일반 매개 변수 -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer 및 -OutVariable을 지원합니다. 자세한 내용은 다음을 참조하세요. about_CommonParameters(https://go.microsoft.com/fwlink/p/?LinkID=113216).
입력
입력 유형은 cmdlet에 파이프할 수 있는 개체의 유형입니다.
출력
출력 유형은 cmdlet이 내보내는 개체의 유형입니다.
예제
Example 1
PS C:\> $_ | Enable-MsmqCertificate
Example 2
PS C:\> Enable-MsmqCertificate -RenewInternalCertificate