Set-DPMDatasourceDefaultDiskAllocation

Retrieves the amount of disk space that is allocated to protected data.

Syntax

Set-DPMDatasourceDefaultDiskAllocation
   [-Datasource] <Datasource[]>
   [-CalculateSize]
   [-Async]
   [-Tag <Object>]
   [-PrimaryDpmServer]
   [-CalculateShrinkThresholds]
   [<CommonParameters>]

Description

The Set-DPMDatasourceDefaultDiskAllocation cmdlet modifies disk allocation for protected data in System Center 2016 - Data Protection Manager (DPM).

Examples

1:

Parameters

-Async

Indicates that the command runs asynchronously. When you run a command asynchronously, the command prompt returns immediately even if the job takes an extended time to finish.

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

-CalculateShrinkThresholds

Indicates that DPM calculates the thresholds to which the recovery point volume can decrease.

This parameter sets the properties ShadowCopySizeAfterMaxShrink and ShadowCopySizeAfterMinShrink. When you use this parameter, the Get-DiskAllocation cmdlet returns two values. To reduce the recovery point volume, specify a value between the two returned values to the ShadowCopyArea parameter of the Set-DiskAllocation cmdlet. However, if you cannot reduce the recovery point volume, the cmdlet throws an exception with the appropriate error code.

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

-CalculateSize

Indicates that DPM calculates the space allocated on a disk.

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

-Datasource

Specifies a data source object for which this cmdlet modifies disk allocation. A data source can be a file system share or volume for the Windows operating system, Microsoft SQL Server database, Microsoft Exchange Server storage group, Microsoft SharePoint farm, Microsoft Virtual Machine, DPM database, or system state that is a member of a protection group.

Type:Datasource[]
Position:1
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-PrimaryDpmServer

Indicates that DPM recovers data to a DPM server.

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

-Tag

Specifies a custom property that distinguishes the replies to each asynchronous call. You can use parameter if you build a graphical user interface by using cmdlets. Do not use this parameter if you work with the DPM Management Shell.

Type:Object
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False