PowerShell Script Variables
Below are the variables which can be included in the PowerShell Scripts Click Studios provide, or the ones you add into Passwordstate yourself.
Variables which have ‘SecureString’ appended to the variable name, will be passed as an encrypted Secure String value to the PowerShell script. This is useful for customers who choose to enable full PowerShell logging at the operating system level, were various PowerShell data can be logged into the Windows Application Event Log. By default, this level of logging is not enabled in Windows.
- [HostName]
- [RemoteConnectionPort]
- [OperatingSystem]
- [UserName]
- [OldPassword]
- [OldPasswordSecureString]
- [NewPassword]
- [NewPasswordSecureString]
- [EnablePassword]
- [PrivilegedAccountUserName]
- [PrivilegedAccountPassword]
- [PrivilegedAccountPasswordSecureString]
- [KeyType]
- [PrivilegedAccountPassPhrase]
- [PrivilegedAccountPrivateKey]
- [URL]
- [GenericField1]
- [GenericField2]
- [GenericField3]
- [GenericField4]
- [GenericField5]
- [GenericField6]
- [GenericField7]
- [GenericField8]
- [GenericField9]
- [GenericField10]
- [GenericField1SecureString]
- [GenericField2SecureString]
- [GenericField3SecureString]
- [GenericField4SecureString]
- [GenericField5SecureString]
- [GenericField6SecureString]
- [GenericField7SecureString]
- [GenericField8SecureString]
- [GenericField9SecureString]
- [GenericField10SecureString]