Get-HcsRemoteManagementCert
Get-HcsRemoteManagementCert
Gets the certificate for remote management.
Syntax
Get-HcsRemoteManagementCert [ <CommonParameters>]
Detailed Description
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.
Parameters
<CommonParameters>
This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Inputs
The input type is the type of the objects that you can pipe to the cmdlet.
Outputs
The output type is the type of the objects that the cmdlet emits.
Examples
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