Disable-HcsWebProxy
Disables the web proxy for the device.
Syntax
Disable-HcsWebProxy []
Description
The Disable-HcsWebProxy cmdlet disables the web proxy for the device. This cmdlet does not delete current configuration settings. If you enable the proxy again, the device has the same settings.
Examples
Example 1: Disable the web proxy
PS C:\> Disable-HcsWebProxy
ConnectionURI Authentication Username IsEnabled
------------- -------------- -------- ---------
http:\\myproxy:8080 NTLM ENarvaez False
This command disables the web proxy for your device.
Outputs
Microsoft.HCS.Management.Platform.Support.WebProxyInfoFull
The WebProxyInfo object has the following properties:
- String ConnectionURI
- WebProxyAuthType Authentication
- String Username
- IsEnabled
The 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
Related Links
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för