Scripting commands > GetEnvStr

GetEnvStr

 

Command

GETENVSTR

Description

Retrieves an operating system environment variable and stores the value in a Double-Take Availability variable

Syntax

GETENVSTR <env_variable> $<variable_name>

Options

Examples

getenvstr computername $server

Notes

It is not necessary for either the environment or Double-Take Availability variable to exist when using this command. A non-existent environment variable will store a null string in the Double-Take Availability variable.