Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

PI Powershell

SetPIIdentity.Enabled Property

  • Last UpdatedDec 15, 2025
  • 1 minute read
SetPIIdentity.Enabled Property

Mark the PI Identity to add as enabled

Namespace:  OSIsoft.PowerShell
Assembly:  OSIsoft.PowerShell (in OSIsoft.PowerShell.dll) Version: 2.2.3.0 (2.2.3.952)

Syntax

[ParameterAttribute(Position = 3, ParameterSetName = "AllProperties", 
	Mandatory = true, HelpMessage = "PI Identity Disabled?")]
public bool Enabled { get; set; }
<ParameterAttribute(Position := 3, ParameterSetName := "AllProperties", 
	Mandatory := true, HelpMessage := "PI Identity Disabled?")>
Public Property Enabled As Boolean
	Get
	Set

Dim instance As SetPIIdentity
Dim value As Boolean

value = instance.Enabled

instance.Enabled = value
public:
[ParameterAttribute(Position = 3, ParameterSetName = L"AllProperties", 
	Mandatory = true, HelpMessage = L"PI Identity Disabled?")]
property bool Enabled {
	bool get ();
	void set (bool value);
}
[<ParameterAttribute(Position = 3, ParameterSetName = "AllProperties", 
	Mandatory = true, HelpMessage = "PI Identity Disabled?")>]
member Enabled : bool with get, set

Property Value

Type: Boolean

See Also

In This Topic
TitleResults for “How to create a CRG?”Also Available in