Cmdlets for Microsoft Excel Online

Build 24.0.9060

ProxyAutoDetect Parameter (Connect-ExcelOnline Cmdlet)

When this connection property is set to True, the provider checks your system proxy settings for existing proxy server configurations (no need to manually supply proxy server details). Set to False if you want to manually configure the provider to connect to a specific proxy server.

Syntax

Connect-ExcelOnline -ProxyAutoDetect bool

Data Type

bool

Default Value

true

Remarks

This connection property takes precedence over other proxy settings, so you'll need to set ProxyAutoDetect to False in order to use custom proxy settings.

On Windows, the proxy settings are read from the Internet Options in the registry, specifically the registry key HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\. On Windows 10 and later, this corresponds to the Proxy Settings found in the Windows Settings.

Note that these settings apply only to the current user of the machine. If you're running an application as a service, the cmdlet will not read your own user's settings. You must instead manually supply the proxy settings in the cmdlet's connection properties.

To connect to an HTTP proxy, see ProxyServer. For other proxies, such as SOCKS or tunneling, see FirewallType.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9060