SetPIUserPassword.ExistingPassword Property
- Last UpdatedDec 15, 2025
- 2 minute read
Current password for the PI User to set a new PI User password. The password is accepted as a SecureString object.
Use ConvertTo-SecureString to convert a string to a secure string.
Namespace: OSIsoft.PowerShell
Assembly: OSIsoft.PowerShell (in OSIsoft.PowerShell.dll) Version: 2.2.3.0 (2.2.3.952)
Syntax
[ParameterAttribute(Position = 1, Mandatory = true, HelpMessage = "Existing PI User password")] public SecureString ExistingPassword { get; set; }
<ParameterAttribute(Position := 1, Mandatory := true, HelpMessage := "Existing PI User password")> Public Property ExistingPassword As SecureString Get Set Dim instance As SetPIUserPassword Dim value As SecureString value = instance.ExistingPassword instance.ExistingPassword = value
public: [ParameterAttribute(Position = 1, Mandatory = true, HelpMessage = L"Existing PI User password")] property SecureString^ ExistingPassword { SecureString^ get (); void set (SecureString^ value); }
[<ParameterAttribute(Position = 1, Mandatory = true, HelpMessage = "Existing PI User password")>] member ExistingPassword : SecureString with get, set