Enable-HcsWebProxy
Enable-HcsWebProxy
Enables the web proxy.
구문
Enable-HcsWebProxy [ <CommonParameters>]
자세한 설명
The Enable-HcsWebProxy cmdlet enables the web proxy. The cmdlet applies all existing configuration settings for the proxy.
매개 변수
<CommonParameters>
이 cmdlet은 일반 매개 변수 -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer 및 -OutVariable을 지원합니다. 자세한 내용은 다음을 참조하세요. about_CommonParameters(https://go.microsoft.com/fwlink/p/?LinkID=113216).
입력
입력 유형은 cmdlet에 파이프할 수 있는 개체의 유형입니다.
출력
출력 유형은 cmdlet이 내보내는 개체의 유형입니다.
Microsoft.HCS.Management.Platform.Support.WebProxyInfoFull
The WebProxyInfo object has the following properties:
-- String ConnectionURI
-- WebProxyAuthType Authentication
-- String Username
-- IsEnabledThe WebProxyAuthType enumeration has the following values:
-- None = proxy_auth_mech_type.AUTH_MECHANISM_NONE
-- Basic = proxy_auth_mech_type.AUTH_MECHANISM_BASIC
-- NTLM = proxy_auth_mech_type.AUTH_MECHANISM_NTLM
예제
Example 1: Enable the web proxy
This command enables the web proxy for your device. The command reverts to previous web proxy settings. If you have not set valid values for the web proxy for this device, the command may fail. Use the Set-HcsWebProxy cmdlet to set up the web proxy.
PS C:\> Enable-HcsWebProxy