New-DSPamFolder
Synopsis
Create a pam folder
Syntax
Default (Default)
New-DSPamFolder -Name <string> -VaultID <guid> [-Group <string>] [-Security <PamUserPermission[]>]
[-AsLegacyResponse] [<CommonParameters>]NewVault
New-DSPamFolder -Name <string> -AsNewVault [-Security <PamUserPermission[]>] [-AsLegacyResponse]
[<CommonParameters>]Description
Create a pam folder. Set it as a new vault or a subfolder of an existing folder.
Examples
PS C:\> New-DSPamFolder -Name 'SubFolderA' -VaultID $vaultId -Group 'FolderA'Create a new PAM folder named 'SubFolderA' as a subfolder of 'FolderA' in the PAM vault whose ID is stored in $vaultId
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.
-AsNewVault
For Devolutions Server prior to version 2024.3.0.0, the new folder's parent will be the root. Else, use the New-DSPamVault cmdlet.
-Group
Group where the folder will be created.
-Name
Folder's name
-Security
Security permissions. Only for Devolutions Server prior to version 2024.3.0.0
-VaultID
PAM vault ID. For Devolution Server prior to the version 2024.3.0.0, it is the id of the new folder's parent.
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 New-DSPamFolder -detailed". For technical information, type "Get-Help New-DSPamFolder -full".
Last updated
Was this helpful?