Get-R1FileManagerDirectory
Get-R1FileManagerDirectory
SYNOPSIS
Lists a directory on the server.
SYNTAX
Get-R1FileManagerDirectory [[-path] <String>] [<CommonParameters>]
DESCRIPTION
Lists the files and folders in a directory. Without a path, the base directory is listed.
Each entry carries uploadAllowed, the flag the API returns for the directory listed rather than for the entry itself.
EXAMPLES
Example 1
Get-R1FileManagerDirectory
Lists the base directory, which holds /certs, /lib, /ontology and /vds_server.
Example 2
Get-R1FileManagerDirectory -path '/vds_server/custom/src'
Lists /vds_server/custom/src, the one tree in which files can be uploaded and directories created.
Example 3
Get-R1FileManagerDirectory -path '/certs' | Where-Object directory
Lists the folders in /certs, leaving out the files.
PARAMETERS
-path
The directory path, relative to the base directory the API allows.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.