Remove-DSPamVault

Synopsis

Delete the PAM vault

Syntax

__AllParameterSets

Remove-DSPamVault -InputObject <PSVaultWrapper> [-WhatIf] [-Confirm] [<CommonParameters>]

Description

Delete the PAM vault

Examples

PS C:\> Get-DSPamVault | Where-Object -Property description -EQ -Value 'Deprecated' | Select-Object -ExpandProperty id | Remove-DSPamVault

Delete all PAM vaults whose description is Deprecated

Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Type: System.Management.Automation.SwitchParameter
DefaultValue: False
SupportsWildcards: false
Aliases:
- cf
ParameterSets:
- Name: (All)
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

-InputObject

The PAM vault to delete. Accepts the ID or the RepositoryEntity object representing the vault.

Type: RemoteDesktopManager.PowerShellModule.PSOutputObject.PSWrapper.PSVaultWrapper
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
  Position: Named
  IsRequired: true
  ValueFromPipeline: true
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type: System.Management.Automation.SwitchParameter
DefaultValue: False
SupportsWildcards: false
Aliases:
- wi
ParameterSets:
- Name: (All)
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

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.

Inputs

System.Guid

ID of the vault to update

Devolutions.RemoteDesktopManager.Business.Entities.RepositoryEntity

Vault object obtained from Get-DSPamVault with the parameter ID

Notes

For more information, type "Get-Help Remove-DSPamVault -detailed". For technical information, type "Get-Help Remove-DSPamVault -full".

Devolutions Forum logo Give us Feedback