Remove-DSPamVault

    2025-02-17

    Remove-DSPamVault

    SYNOPSIS

    Delete the PAM vault

    SYNTAX

    __AllParameterSets

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

    ALIASES

    This cmdlet has the following aliases,

    DESCRIPTION

    Delete the PAM vault

    EXAMPLES

    EXAMPLE

    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
    ParameterValue: []
    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
    ParameterValue: []
    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
    ParameterValue: []
    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

    RemoteDesktopManager.PowerShellModule.PSOutputObject.PSWrapper.PSVaultWrapper

    OUTPUTS

    NOTES

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