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

PI Powershell

GetPILicenseAllowedApplication Class

  • Last UpdatedDec 15, 2025
  • 3 minute read
GetPILicenseAllowedApplication Class

Get a list of explicitly allowed applications for connecting to the specified PI Data Archive

The Get-PILicenseAllowedApplication cmdlet retrieves a list of applications that have been explicitly allowed to connect to the PI Data Archive.

The connection parameter specifies which connection to a PI Data Archive to use.

Inheritance Hierarchy

SystemObject
  InternalCommand
    Cmdlet
      PSCmdlet
        OSIsoft.PowerShellOSICmdletBase
          OSIsoft.PowerShellOSICmdletBaseWithConnection
            OSIsoft.PowerShellGetPILicenseAllowedApplication

Namespace:  OSIsoft.PowerShell
Assembly:  OSIsoft.PowerShell (in OSIsoft.PowerShell.dll) Version: 3.1.1.0 (3.1.1.466)

Syntax

[CmdletAttribute("Get", "PILicenseAllowedApplication", DefaultParameterSetName = "ByType", 
	SupportsShouldProcess = true)]
public class GetPILicenseAllowedApplication : OSICmdletBaseWithConnection
<CmdletAttribute("Get", "PILicenseAllowedApplication", DefaultParameterSetName := "ByType", 
	SupportsShouldProcess := true)>
Public Class GetPILicenseAllowedApplication
	Inherits OSICmdletBaseWithConnection

Dim instance As GetPILicenseAllowedApplication
[CmdletAttribute(L"Get", L"PILicenseAllowedApplication", DefaultParameterSetName = L"ByType", 
	SupportsShouldProcess = true)]
public ref class GetPILicenseAllowedApplication : public OSICmdletBaseWithConnection
[<CmdletAttribute("Get", "PILicenseAllowedApplication", DefaultParameterSetName = "ByType", 
	SupportsShouldProcess = true)>]
type GetPILicenseAllowedApplication =  
    class
        inherit OSICmdletBaseWithConnection
    end

The GetPILicenseAllowedApplication type exposes the following members.

Constructors

Properties

  NameDescription
Public property
ApplicationType

ApplicationType for which to retrieve the PI License Allowed Application information. Valid options for ApplicationType are:

Unknown : PIService : ServerApp : PIUtility : OSISDKApp : OSIAPIApp : OSIInterface : OSIMiddleWare : SDKApp : APIApp

Public property
Connection

Connection to a PI Data Archive from which to get the PI License Allowed Application information

(Overrides OSICmdletBaseWithConnectionConnection.)
Public property
Name

Name of the application for which to retrieve the PI License Allowed Application information

Examples

Get-PILicenseAllowedApplication -Connection $con

Where:

$con = Connect-PIDataArchive -PIDataArchiveMachineName "PISRV1"

Gets a list of all explicitly allowed application connections for the "PISRV1" PI Data Archive.

Examples

Get-PILicenseAllowedApplication -ApplicationType OSIInterface -Connection $con

Where:

$con = Connect-PIDataArchive -PIDataArchiveMachineName "PISRV1"

Gets a list of explicitly allowed PI Interface connections for the "PISRV1" PI Data Archive.

See Also

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