When using the Get-PIArchiveFileInfo cmdlet, the ID relates to the ID of the archive file you want information from. Is there a way to obtain the highest number the ID could be to be able to work within the range of 0-### for IDs?
When using the Get-PIArchiveFileInfo cmdlet, the ID relates to the ID of the archive file you want information from. Is there a way to obtain the highest number the ID could be to be able to work within the range of 0-### for IDs?
Would this help: (get-PIArchiveFileInfo-connection $con).count -1
Would this help: (get-PIArchiveFileInfo-connection $con).count -1