Share via


Disable-HcsWebProxy

Disable-HcsWebProxy

Disables the web proxy for the device.

Syntax

Disable-HcsWebProxy [ <CommonParameters>]

Detaillierte Beschreibung

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.

Parameter

<CommonParameters>

Dieses Cmdlet unterstützt die allgemeinen Parameter: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, -OutVariable. Weitere Informationen finden Sie unter about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Eingaben

Der Eingabetyp ist der Typ der Objekte, die über die Pipeline an das Cmdlet übergeben werden können.

Ausgaben

Der Ausgabetyp ist der Typ der Objekte, die vom Cmdlet ausgegeben werden.

  • 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

Beispiele

Example 1: Disable the web proxy

This command disables the web proxy for your device.

PS C:\> Disable-HcsWebProxy

Verwandte Themen

Enable-HcsWebProxy

Get-HcsWebProxy

Set-HcsWebProxy