Share via


Get-HcsRemoteManagementCert

Get-HcsRemoteManagementCert

Gets the certificate for remote management.

Syntax

Get-HcsRemoteManagementCert [ <CommonParameters>]

Detaillierte Beschreibung

The Get-HcsRemoteManagementCert cmdlet gets the certificate for Windows PowerShell® remote management. Add the certificate to the trusted root certificate store on clients in order to connect to the device over HTTPS. Copy the text into a .cer file to install the certificate by using the certificate import wizard. Each device has a unique certificate. You can regenerate a certificate by using the Set-HcsRemoteManagementCert cmdlet. If you regenerate a certificate, the existing certificate becomes invalid.

Parameter

<CommonParameters>

Dieses Cmdlet unterstützt die allgemeinen Parameter: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, -OutVariable. Weitere Informationen finden Sie unter about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Eingaben

Der Eingabetyp ist der Typ der Objekte, die über die Pipeline an das Cmdlet übergeben werden können.

Ausgaben

Der Ausgabetyp ist der Typ der Objekte, die vom Cmdlet ausgegeben werden.

Beispiele

Example 1: Get a certificate for remote management

This command gets the certificate to use for Windows PowerShell remote management. Each device has a unique certificate. You cannot copy this example output.

PS C:\> Get-HcsRemoteManagementCert

Verwandte Themen

Set-HcsRemoteManagementCert