Enable-HcsRemoteManagement
Enables remote Windows PowerShell management.
Syntax
Enable-HcsRemoteManagement
[-AllowHttp]
[-Force]
[<CommonParameters>]
Description
The Enable-HcsRemoteManagement cmdlet enables remote Windows PowerShell® management for this device. You can manage remotely by using the SSAdmin console session configuration and the Support session configuration. By default, the cmdlet enables remote management over HTTPS only. Specify the AllowHttp parameter to enable remote management over HTTP as well.
To obtain the required certificate for connecting by using HTTPS, use the Get-HcsRemoteManagementCert cmdlet.
For more information about how to run remote commands in Windows PowerShell, type Get-Help about_Remotehttp://technet.microsoft.com/en-us/library/hh847900.aspx.
Examples
Example 1: Enable remote management
PS C:\>Enable-HcsRemoteManagement -AllowHttp
This command enables remote management for this device. You can manage the device by using HTTP or HTTPS.
Parameters
-AllowHttp
Indicates that the cmdlet enables remote management over HTTP as well as HTTPS.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Force
Forces the command to run without asking for user confirmation.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Outputs
This cmdlet does not generate any output.
Related Links
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for