# Usage ## Usage PeterDocs The syntax is for each function is below: ```powershell Compress-Peter -SourceFolder [-RecipientKey ] | [-SecretKey ] [-ArchiveFile ] [-ReconcileFile ] [-FileFilter ] [-SecretFile ] [-ExcludeHash] [-IncludeExif] [-RootFolder ] [-VolumeSize ] [-LogPath ] [] Expand-Peter -ArchiveFile -RestoreFolder [-RecipientKey ] | [-SecretKey ] [-SecretFile ] [-LogPath ] [] New-PeterReconcile -SourceFolder -ReconcileFile [-RootFolder } [-FileFilter ] [-ProcessFileCount ] [-ExcludeHash] [-IncludeExif] [-Feedback] [-LogPath ] [] Compare-Peter -RestoreFolder [-ReconcileFile ] [-RootFolder } [-ExcludeHash] [-ExtendedCheck] [-LogPath ] [] ``` ## Usage PeterTask For using the PeterTask, syntax is simple as shown below. Behind the scenes the PeterTask calls the functions above: ```powershell PeterTask -Task {Compress, Expand, Compare, NewReconcile, Put, Get, ArchiveInformation} -Path [-RecipientKey ] | [-SecretKey ] [-ArchiveFile ] [-RootFolder ] [-FileFilter ] [-ReconcileFile ] [-SecretFile ] [-CloudProfile ] [-ExcludeHash] [-IncludeExif] [-VolumeSize ] [-LogPath ] [] ```