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

PI Powershell

EnableUomMCaseSensitivity Class

  • Last UpdatedDec 15, 2025
  • 2 minute read
EnableUomMCaseSensitivity Class

Changes configuration of UOM abbreviations from case insensitive to case sensitive in the PI AF SQL Server database.

This method is used to enable the PISystemFeatures.UomCaseSensitive feature in the PI AF SQL Server database. This feature controls support for case-sensitive UOM abbreviations, allowing for abbreviations that differ only by case, such as MV and mV. It is recommended that you review the information in the user guide for Case Sensitive UOM Abbreviations prior to enabling this option.

Inheritance Hierarchy

SystemObject
  InternalCommand
    Cmdlet
      PSCmdlet
        OSIsoft.PowerShellOSICmdletBase
          OSIsoft.PowerShellEnableUomMCaseSensitivity

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

Syntax

[CmdletAttribute("Enable", "UomCaseSensitivity", SupportsShouldProcess = true)]
public class EnableUomMCaseSensitivity : OSICmdletBase
<CmdletAttribute("Enable", "UomCaseSensitivity", SupportsShouldProcess := true)>
Public Class EnableUomMCaseSensitivity
	Inherits OSICmdletBase

Dim instance As EnableUomMCaseSensitivity
[CmdletAttribute(L"Enable", L"UomCaseSensitivity", SupportsShouldProcess = true)]
public ref class EnableUomMCaseSensitivity : public OSICmdletBase
[<CmdletAttribute("Enable", "UomCaseSensitivity", SupportsShouldProcess = true)>]
type EnableUomMCaseSensitivity =  
    class
        inherit OSICmdletBase
    end

The EnableUomMCaseSensitivity type exposes the following members.

Constructors

  NameDescription
Public method
EnableUomMCaseSensitivity

Properties

  NameDescription
Public property
AFServer

Instance of the AFServer

Examples

$afServer | Enable-UomCaseSensitivity

Where:

$afServer = Get-AFServer -Name "AFServerMachineName"

Changes configuration of UOM abbreviations from case insensitive to case sensitive in the PI AF SQL Server database.

See Also

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