Built-in variables
The following built-in variables are available for use with PSLang scripts:
$KeyAccountsValue: "accounts" Description: List of accounts.
$KeyAcctIDValue: "acctid" Description: Name of the target account to operate on.
$KeyActionValue: "ACTION" Description: Action to do to the attribute.
$KeyActionCopyValue: "COPY" Description: Action to do to the attribute.
$KeyActionIgnoreValue: "IGNORE" Description: Action to do to the attribute.
$KeyActionReplaceValue: "REPLACE" Description: Action to do to the attribute.
$KeyActionValueValue: "VALUE" Description: Value of the attribute.
$KeyAddressValue: "address" Description: The address line to use to connect to the target.
$KeyAddrCompsValue: "addresscomponents" Description: Key to the sub-array containing the address elements already split.
$KeyAdminIDValue: "adminid" Description: Name of the account to connect to target as.
$KeyAdminPWValue: "adminpw" Description: Password of the account to connect to the target with.
$KeyAttributeValue: "attribute" Description: Single account attribute details.
$KeyAttributesValue: "attributes" Description: List of account details.
$KeyAuthKeyValue: "authkey" Description: SSH Authentication key attribute.
$KeyBooleanValue: "boolean" Description: true/false address attribute type
$KeyCAPathValue: "CApath" Description: Path to certificate file.
$KeyCAFileValue: "CAfile" Description: Certificate file name.
$KeyChildGroupIDValue: "childgroupid"
$KeyCheckCertValue: "checkCert" Description: Should the agent check the SSL certificate.
$KeyCommandValue: "command" Description: Command to run during runcommand() operation.
$KeyCommandFileValue: "commandfilename" Description: File where the output from runcommand() operation is written to.
$KeyCompressionValue: "compression" Description: SSH address attribute to compress the data transmitted.
$KeyFalseValue: "false" Description: String used for boolean address and account attributes.
$KeyFullNameValue: "fullname" Description: Description attribute of an account.
$KeyGroupValue: "group" Description: Single sub KV of a group on the target.
$KeyGroupIDValue: "groupid" Description: Identifier for the group.
$KeyGroupNameValue: "groupname" Description: Name of the group.
$KeyGroupsValue: "groups" Description: List of groups.
$KeyHostIDValue: "hostid" Description:
$KeyHostKeysDenyUnmatchedValue: "DenyUnmatch" Description: Tells the SSH library to connect ONLY if the host key matches an existing one.
$KeyHostKeysUpdateValue: "AllowUpdate" Description: Allows the SSH connection to update the host key if one already exists (unsafe).
$KeyHostKeysAppendValue: "AllowAppend" Description: Tells the SSH libary to add the host key if it is missing, but refuse if it does not match.
$KeyIntegerValue: "integer" Description: Integral address attribute type.
$KeyKvgroupValue: "kvgroup" Description: Address attribute type.
$KeyManagedGroupValue: "managedGroup"
$KeyModelUIDValue: "modeluid" Description: Account to use as a template when creating a new user.
$KeyNewPWValue: "newpw" Description: Password for the new account or the new password when resetting an existing account.
$KeyNoPTYValue: "nopty"
$KeyOldPWValue: "oldpw" Description: Current password for an account.
$KeyOperationValue: "operation" Description: The action that is currently underway.
$KeyPortValue: "port" Description: IP port to connect to on the target.
$KeyPositionValue: "position" Description:
$KeyReadOnlyValue: "readonly" Description: Address attribute that is not modifiable by the user.
$KeyResourceValue: "resource" Description:
$KeyResourceAddressValue: "resourceaddress" Description:
$KeyResourceTypeValue: "resourcetype" Description:
$KeyRestrictedValue: "restricted" Description: Address attribute type of restricted values.
$KeyRestrictedValueValue: "restrictedvalue" Description: Key for the chosen restricted address attribute value.
$KeyRestrictedValueTextValue: "restrictedvaluetext" Description: Display value for a restricted address attribute value.
$KeyRestartValue: "restart" Description:
$KeyRevisionValue: "rev" Description:
$KeyScriptValue: "script" Description: Address attribute type.
$KeyFileValue: "file" Description: Address attribute type.
$KeyDirValue: "dir" Description: Address attribute type.
$KeyPathValue: "path" Description: Address attribute type.
$KeyServerValue: "server" Description: Address attribute containing the target to connect to.
$KeyServerInfoValue: "serverinfo" Description: Operation to query the target for version and status information.
$KeySettingsValue: "settings" Description:
$KeyShortIDValue: "shortid" Description: User’s ID
$KeySSLValue: "SSL" Description: Address attribute determining if encrypted telnet should be used.
$KeyStringValue: "string" Description:
$KeySysIDValue: "sysID" Description: Username for secondary login to the target (e.g. sudo).
$KeySysPasswordValue: "syspassword" Description: Password for the secondary login to the target.
$KeyTermValue: "terminal" Description: Address attribute determining the terminal type for the telnet connection.
$KeyTimeoutValue: "timeout" Description: Address attribute defining how long the agent should wait for connection to complete.
$KeyTrueValue: "true" Description: String used for boolean address and account attributes.
$KeyWriteOptionValue: "writeoption" Description: Address attribute determining the terminal type for the telnet connection.