Update-DPMDiskStorage

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

Syntax

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

Description

The Update-DPMDiskStorage cmdlet updates properties of a volume in the storage pool on a System Center - 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

-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

-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[]
Position:3
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-FriendlyName

Specifies the new friendly name for the current volume.

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

-Volume

Specifies the volume for which properties need to be changed.

Type:Volume
Position:1
Default value:None
Required:True
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
Position:Named
Default value:False
Required:False
Accept pipeline input:False
Accept wildcard characters:False