Disable-HcsWebProxy
Disable-HcsWebProxy
Disables the web proxy for the device.
Syntaxe
Disable-HcsWebProxy [ <CommonParameters>]
Description détaillée
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.
Paramètres
<CommonParameters>
Cette applet de commande prend en charge les paramètres courants : -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer et -OutVariable. Pour plus d’informations, consultez about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Entrées
Le type d’entrée correspond au type des objets que vous pouvez transmettre à l’applet de commande.
Sorties
Le type de sortie est le type des objets émis par l’applet de commande.
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
Exemples
Example 1: Disable the web proxy
This command disables the web proxy for your device.
PS C:\> Disable-HcsWebProxy