Skip to main content

Global variables

In any agent script, input passed to the agent is stored in the $_inVars "hidden" global variable. You can declare and define additional global variables for use throughout the script.

Following is an example of the contents of the $_inVars KVGroup when performing a list operation:

   "" "" = {
     "address" = "agtdos.psl"
     "adminid" = "null"
     "adminpw" = "<encrypted password value>"
     "hostid" = "DOS"
     "listdbfilename" = "C:\\Program Files\\Hitachi ID\\IDM Suite\\default\\psconfig\\AGTDOS.db"
     "operation" = "listobj"
     "platformname" = "Win32 Console Script"
     "timeout" = "-1"
    "listattributes" "" = {
     }
   }