Get-VaultFiles
Returns an array of file objects that match your parameters.
Syntax
Get-VaultFiles [-FileName <String>] [-Folder <String>] [-Properties <Hashtable>] [<CommonParameters>]
Parameters
Type |
Name |
Description |
Optional |
---|---|---|---|
String |
FileName |
Name of a file in vault |
yes |
String |
Folder |
Absolute path to a vault folder |
yes |
Hashtable |
Properties |
Search for files with matching properties |
yes |
Remarks
If you want a single specific file use Get-Vaultfile.
Examples
Get all files from the specified Vault folder
$files = Get-VaultFiles -Folder '$/Designs/2014/03/0'
$files = Get-VaultFiles
foreach($file in $files){
$file.'File Name'
}