Get-DSPamFolder
Synopsis
Get pam folders
Syntax
GetAll (Default)
Get-DSPamFolder [-VaultID <guid>] [-IncludeFolder] [-Root] [-AsLegacyResponse] [<CommonParameters>]GetById
Get-DSPamFolder -FolderID <guid> [-AsLegacyResponse] [<CommonParameters>]Description
Get pam folders with three alternative ways: all of them with the optional inclusion of the root folder, a single one by its ID, or the root folder.
Examples
Example 1
PS C:\> $root = Get-DSPamFolder -VaultID $pamVaultID -RootObtain the root of the PAM vault whose ID is $pamVaultID
Example 2
Obtain the all folders in the PAM vault whose ID is $pamVaultID
Parameters
-AsLegacyResponse
In versions prior to 2024.2, many DS cmdlets returned a ServerResponse object. Enabling this backward compatibility switch allows scripts developed for earlier versions to function correctly.
-FolderID
ID of the pam folder to get.
-IncludeFolder
Root folder will be included with all the others.
-Root
Root folder will be fetched.
-VaultID
ID of the pam vault containing the folders.
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Notes
For more information, type "Get-Help Get-DSPamFolder -detailed". For technical information, type "Get-Help Get-DSPamFolder -full".
Last updated
Was this helpful?