NewPIArchive Properties
- Last UpdatedDec 15, 2025
- 2 minute read
The NewPIArchive type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| ArchiveSet | Specifies the archive set of the archive file to create. This is only supported for PI Data Archive 2015 or later. 0 = Historical 1 = Future | |
| Connection | Specifies which connection to a PI Data Archive to use | |
| EndTime | The end time of the archive file to create | |
| Name | The full path and name of the archive file to create | |
| Size | The size (MB) of the archive file to create | |
| StartTime | The start time of the archive file to create | |
| UsePrimaryPath | If specifying only the PI Archive name to create, use this flag to create the PI Archive in the same directory as the current primary archive | |
| WaitForRegistration | PowerShell will wait to process any further commands until the new archive is registered with the PI Data Archive | |
| WaitForRegistrationTimeOut | The registration timeout for registering the created PI Archive Example: "00:01:00" is a timeout of 1 minute |