Get-DSPamVault

    2024-10-28

    Get-DSPamVault

    SYNOPSIS

    Get the pam vaults

    SYNTAX

    __AllParameterSets

    Get-DSPamVault [[-ID] <guid>] [<CommonParameters>]
    

    ALIASES

    This cmdlet has the following aliases,

    DESCRIPTION

    Get the pam vaults. For the complete object, use the ID parameter. To modify the security of the vault, this must be done on the root folder of the vault. This root can be obtained with Get-DSPamFolder.

    EXAMPLES

    EXAMPLE 1

    PS C:> Get-DSPamVault -ID $myVaultId | Update-DSVault -Name 'NewVaultName' -Description 'A new description'

    Update the name and description of the PAM vault whose id is $myVaultId

    EXAMPLE 2

    PS C:> Get-DSPamVault | Where-Object -Property Name -Like -Value PST* | Select-Object -ExpandProperty id | Update-DSVault -Visibility Never

    Set the visibility of all PAM vaults whose name starts with PST to invitation only.

    PARAMETERS

    -ID

    Specify the ID of the desired vault.

    Type: System.Guid
    DefaultValue: ''
    SupportsWildcards: false
    ParameterValue: []
    Aliases: []
    ParameterSets:
    - Name: (All)
      Position: 0
      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.PSRepositoryInfo

    Vault obtained with the ID parameter.

    OUTPUTS

    System.Management.Automation.PSObject

    NOTES

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