Synopsis
Sets proxy configuration in module memory for the current session. If an Automate agent is installed, updates theProxyServerURL, ProxyUsername, and ProxyPassword values in the agent’s registry and restarts the agent service to apply the changes.
Syntax
Parameters
string
The proxy server URL and port to use for module operations and the installed agent.Accepted formats:
proxyhostname.fqdn.com, proxyhostname.fqdn.com:8080Accepts pipeline input by value and by property name.string
Plain-text username for proxy authentication. Must be used together with
-ProxyPassword and -ProxyServerURL.string
Plain-text password for proxy authentication. Must be used together with
-ProxyUsername and -ProxyServerURL.string
LabTech-encoded proxy username. Must be encoded with the agent password. Decoded automatically using the agent password before being applied. Must be used together with
-EncodedProxyPassword and -ProxyServerURL.Reinstalling the agent generates a new agent password, which will invalidate previously encoded values.
string
LabTech-encoded proxy password. Must be encoded with the agent password. Decoded automatically using the agent password before being applied. Must be used together with
-EncodedProxyUsername and -ProxyServerURL.switch
Attempts to auto-detect system proxy settings. Discovered settings are applied to the module session and, if an agent is installed, to the agent registry. Aliases:
-Detect, -AutoDetect.Cannot be combined with any other parameter.switch
Clears all proxy settings from the module session and, if an agent is installed, from the agent registry. Aliases:
-Clear, -Reset, -ClearProxy.Cannot be combined with any other parameter.