Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.
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).
The input type is the type of the objects that you can pipe to the cmdlet.
The output type is the type of the objects that the cmdlet emits.
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
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