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

Data Archive Administration

PowerShell support for scheduled shift

  • Last UpdatedOct 04, 2024
  • 1 minute read

To get the current settings for your scheduled shift in Powershell, use the cmdlet Get-PIArchiveSetSettings.

In the example below, 420_cp1 is the collective name. You can use either the target server name or collective name (name in KST.)

PS C:\WINDOWS\system32> Get-PIDataArchiveConnectionConfiguration 420_cp1 |
Connect-PIDataArchive | Get-PIArchiveSetSettings

Sample output:

To set the shift schedule, use the command Set-PIArchiveSetSettings.

PS C:\WINDOWS\system32> Get-PIDataArchiveConnectionConfiguration 420_cp1 |
Connect-PIDataArchive | Set-PIArchiveSetSettings -Name 0_Historical -ShiftFrequency Monthly

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