Enable-HcsRemoteManagement
Enable-HcsRemoteManagement
Enables remote Windows PowerShell management.
구문
Parameter Set: Default
Enable-HcsRemoteManagement [-AllowHttp] [-Force] [ <CommonParameters>]
자세한 설명
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_Remote.
매개 변수
-AllowHttp
Indicates that the cmdlet enables remote management over HTTP as well as HTTPS.
별칭 |
없음 |
필수 여부 |
false |
위치 |
named |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
-Force
사용자 확인을 요구하지 않고 명령을 실행합니다.
별칭 |
없음 |
필수 여부 |
false |
위치 |
named |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
<CommonParameters>
이 cmdlet은 일반 매개 변수 -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer 및 -OutVariable을 지원합니다. 자세한 내용은 다음을 참조하세요. about_CommonParameters(https://go.microsoft.com/fwlink/p/?LinkID=113216).
입력
입력 유형은 cmdlet에 파이프할 수 있는 개체의 유형입니다.
출력
출력 유형은 cmdlet이 내보내는 개체의 유형입니다.
- This cmdlet does not generate any output.
예제
Example 1: Enable remote management
This command enables remote management for this device. You can manage the device by using HTTP or HTTPS.
PS C:\> Enable-HcsRemoteManagement -AllowHttp