Update-DSPamFolder
Synopsis
Update a PAM folder with given values.
Syntax
__AllParameterSets
Update-DSPamFolder -FolderID <guid> [-Name <string>] [-Group <string>]
[-CheckoutApprovalMode <CheckoutApprovalMode>] [-CheckoutReasonMode <CheckoutReasonMode>]
[-AllowCheckoutOwnerAsApprover <ApproverOptions>] [-IncludeAdminsAsApprovers <ApproverOptions>]
[-IncludeManagersAsApprovers <ApproverOptions>] [-CheckoutTime <int>]
[-Permission <PSPermissionWrapper[]>] [-AsLegacyResponse] [<CommonParameters>]Description
Update a PAM folder with given parameters. Goes through every parameter and checks if key matches a key in current folder data. If so, updates current folder data and sends 'PUT' web request.
Parameters
-AllowCheckoutOwnerAsApprover
Users can approve their own Check-out requests
Type: Devolutions.Server.Managers.Pam.Enums.ApproverOptions
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''-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.
-CheckoutApprovalMode
New checkout approval mode to assign the root
-CheckoutReasonMode
New checkout reason mode to assign the root
-CheckoutTime
New default checkout time in minutes to assign the root
-FolderID
ID of the pam folder to update.
-Group
For server version prior to 2024.3.0, the ID of the new folder's parent. After that, the group name.
-IncludeAdminsAsApprovers
Include administrators when listing approvers
-IncludeManagersAsApprovers
Include PAM managers when listing approvers
-Name
New name to assign to the folder
-Permission
Security permissions. Prior to server version 2024.3.0.0, use the PamUserPermission type. Else, use the ConnectionPermission type on the root folder.
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 Update-DSPamFolder -detailed". For technical information, type "Get-Help Update-DSPamFolder -full".
Last updated
Was this helpful?