The new docs.trellix.com features a modernized UI and AI-powered conversational search. Content is currently available in English, with additional languages launching in early November 2026. We hope you enjoy the updated experience.

iEnv command

Prev Next

The iEnv command returns the specified environment variable value or an empty string if the variable does not exist.

Note

Exploit Prevention is not supported in the ARM architecture.

Syntax

iEnv name

                  

Parameter

Parameter

Returns

name

Value of the specified environment variable.

Example

set PingExe [iEnv SystemRoot]\\system32\\ping.exe

For more Expert Rules examples, visit the Trellix Github repository.