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

PI Powershell

StartPIArchiveShift Class

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

Initiate a PI Archive shift

The Start-PIArchiveShift cmdlet initiates a PI Archive shift immediately on a specified 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.PowerShellStartPIArchiveShift

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

Syntax

[CmdletAttribute("Start", "PIArchiveShift", SupportsShouldProcess = true)]
public class StartPIArchiveShift : OSICmdletBase
<CmdletAttribute("Start", "PIArchiveShift", SupportsShouldProcess := true)>
Public Class StartPIArchiveShift
	Inherits OSICmdletBase

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

The StartPIArchiveShift type exposes the following members.

Constructors

  NameDescription
Public method
StartPIArchiveShift

Properties

  NameDescription
Public property
Connection

Connection to a PI Data Archive for which to initiate an archive shift

Examples

Start-PIArchiveShift -Connection (Connect-PIDataArchive -PIDataArchiveMachineName "PISRV1")

Initiates a PI Archive shift on the "PISRV1" PI Data Archive server.

Examples

Start-PIArchiveShift -Connection $con

Where:

$con = Connect-PIDataArchive -PIDataArchiveMachineName "PISRV1"

Initiates a PI Archive Shift on the PI Data Archive "PISRV1", where the connection object to PISRV1 is stored in the variable $con.

See Also

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