GetPILicenseAllowedApplication Class
- Last UpdatedDec 15, 2025
- 3 minute read
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
InternalCommand
Cmdlet
PSCmdlet
OSIsoft.PowerShellOSICmdletBase
OSIsoft.PowerShellGetPILicenseAllowedApplication
Namespace: OSIsoft.PowerShell
Assembly: OSIsoft.PowerShell (in OSIsoft.PowerShell.dll) Version: 2.2.3.0 (2.2.3.952)
Syntax
[CmdletAttribute("Get", "PILicenseAllowedApplication", DefaultParameterSetName = "ByType", SupportsShouldProcess = true)] public class GetPILicenseAllowedApplication : OSICmdletBase
<CmdletAttribute("Get", "PILicenseAllowedApplication", DefaultParameterSetName := "ByType", SupportsShouldProcess := true)> Public Class GetPILicenseAllowedApplication Inherits OSICmdletBase Dim instance As GetPILicenseAllowedApplication
[CmdletAttribute(L"Get", L"PILicenseAllowedApplication", DefaultParameterSetName = L"ByType", SupportsShouldProcess = true)] public ref class GetPILicenseAllowedApplication : public OSICmdletBase
[<CmdletAttribute("Get", "PILicenseAllowedApplication", DefaultParameterSetName = "ByType", SupportsShouldProcess = true)>] type GetPILicenseAllowedApplication = class inherit OSICmdletBase end
The GetPILicenseAllowedApplication type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| GetPILicenseAllowedApplication |
Properties
| Name | Description | |
|---|---|---|
| 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 | |
| Connection | Connection to a PI Data Archive from which to get the PI License Allowed Application information | |
| 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.