Get-HcsRemoteManagementCert
Get-HcsRemoteManagementCert
Gets the certificate for remote management.
Syntaxe
Get-HcsRemoteManagementCert [ <CommonParameters>]
Description détaillée
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.
Paramètres
<CommonParameters>
Cette applet de commande prend en charge les paramètres courants : -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer et -OutVariable. Pour plus d’informations, consultez about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Entrées
Le type d’entrée correspond au type des objets que vous pouvez transmettre à l’applet de commande.
Sorties
Le type de sortie est le type des objets émis par l’applet de commande.
Exemples
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