Get-DPMCloudRegisteredServers

Gets a list of servers registered to the specified vault.

Syntax

Get-DPMCloudRegisteredServers
   [[-DPMServerName] <String>]
   [-VaultCredentialsFilePath] <String>
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]

Description

The Get-DPMCloudRegisteredServers cmdlet gets a list of servers registered to a vault. This should be the same vault to which the local System Center 2019 - Data Protection Manager (DPM) Server, which is specified in the DPMServerName parameter, is registered.

Examples

Example 1: Get the servers registered to a vault to which the local DPM server is registered

PS C:\>$RS = Get-DPMCloudRegisteredServers -VaultCredentialsFilePath "DPMTESTVault_Friday, September 5, 2014.VaultCredentials"

This command returns the servers registered to the vault for which the vault credential file is DPMTESTVault_Friday, September 5, 2014.VaultCredentials.

Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:False
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-DPMServerName

Specifies the name of a DPM Server.

Type:String
Position:1
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-VaultCredentialsFilePath

Specifies the vault credential file path for the Azure online backup. The vault credential file should be from the vault to which the local DPM Server is registered.

Type:String
Position:2
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-WhatIf

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

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:False
Required:False
Accept pipeline input:False
Accept wildcard characters:False