Update-DPMDiskStorage

Updates properties of a volume in the storage pool on a DPM server.

Syntax

Update-DPMDiskStorage [-Volume] <Volume> [[-FriendlyName] <String>] [[-DatasourceType] <VolumeTag[]>]
 [-Confirm] [-WhatIf] [<CommonParameters>]

Description

The Update-DPMDiskStorage cmdlet updates properties of a volume in the storage pool on a System Center 2016 - Data Protection Manager (DPM) server. The cmdlet can be used to update the friendly name and allowed data source types.

To get a list of all volumes in the DPM storage pool, use the Get-DPMDiskStorage cmdlet with the Volumes switch.

Examples

Example 1: Update volume properties of a volume in DPM storage pool

PS C:\>$volumes = Get-DPMDiskStorage -DPMServerName "TestingServer" -Volumes 
PS C:\> Update-DPMDiskStorage -Volume $volumes[0] -FriendlyName "New Volume" -DatasourceType FileSystem

The first command uses the Get-DPMDiskStorage cmdlet to get the volumes already added to the storage pool of the DPM server named TestingServer. It stores them in the $volumes variable.

The second command updates the friendly name and allowed data source types for the first volume listed in the $volumes variable.

Parameters

-DatasourceType

Specifies list of data source types that can be backed up on the current volume. The acceptable values for this parameter are:

- FileSystem

  • Client
  • SQL
  • SharePoint
  • Exchange
  • SystemProtection
  • HyperV
  • VMware
  • Other
  • All

Type:VolumeTag[]
Required:False
Position:3
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-FriendlyName

Specifies the new friendly name for the current volume.

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

Specifies the volume for which properties need to be changed.

Type:Volume
Required:True
Position:1
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Confirm

Prompts you for confirmation before running the cmdlet.

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

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

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