Unset environment variable

Prev Next

The Unset environment variable action allows you to clear an operating system environment variable. This action is not persistent on macOS and changes are lost after a reboot.

General
Type Unset environment variable
Name

Actions are easier to comprehend and manage over time when they have a suitable name that accurately expresses what they do.

Variable For example NUMBER_OF_PROCESSORS for a Windows OS
My data is a list of values If you enable this option, you can unset one or more entries from the variable, when your variable is an array.
Separator Specify the separator used in a concatenated environment variable, so that it is parsed correctly.
Value Insert the value you want to unset from the variable. In case you enable the My data is a list of values option, you can specify which entry of the variable array you want to unset. For example Path: c:\Windows;C:\Temp;c:\Program Files\ Value C:\Temp New path: c:\Windows;c:\Program Files\. You can unset multiple entries, by using the ";" separator.
Advanced
Context The level at which the action is executed, User or Device.

Filters
Here you can define conditions which determine if the action will be executed. For more information, see Filters.

Agent

It requires the Agent to be running.

Supported platforms

Platform Supported
Web No
Windows Yes
macOS Yes