Get-PIArchiveFileInfo Powershell cmdlet question

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?