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

PI Powershell

GetPIArchiveSetSettings Class

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

Gets the archive set configuration from a PI Data Archive

The Get-PIArchiveSetSettings cmdlet gets detailed PI Archive set configuration information on a PI Data Archive.

Get-PIArchiveSetSettings can be used to get configuration settings for a specific archive set by name, or default set if name omitted.

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

Inheritance Hierarchy

SystemObject
  InternalCommand
    Cmdlet
      PSCmdlet
        OSIsoft.PowerShellOSICmdletBase
          OSIsoft.PowerShellGetPIArchiveSetSettings

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

Syntax

[CmdletAttribute("Get", "PIArchiveSetSettings", SupportsShouldProcess = true)]
public class GetPIArchiveSetSettings : OSICmdletBase
<CmdletAttribute("Get", "PIArchiveSetSettings", SupportsShouldProcess := true)>
Public Class GetPIArchiveSetSettings
	Inherits OSICmdletBase

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

The GetPIArchiveSetSettings type exposes the following members.

Constructors

  NameDescription
Public method
GetPIArchiveSetSettings

Properties

  NameDescription
Public property
Connection

Specifies the connection to a PI Data Archive to use

Public property
Name

Specifies the name of the archive file for which to get detailed information

Examples

Get-PIArchiveSetSettings $con

Where:

$con = Connect-PIDataArchive -PIDataArchiveMachineName "PISRV1"

Get the PI Archive set configuration settings for the default archive set.

Examples

Get-PIArchiveSetSettings -Name "0_Historical" -Connection (Connect-PIDataArchive -PIDataArchiveMachineName PISRV1)

Get the PI Archive set configuration settings for the archive set (Historical) on the "PISRV1" PI Data Archive server.

See Also

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