Set-DPMDatasourceDefaultDiskAllocation

Set-DPMDatasourceDefaultDiskAllocation

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

Syntax

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

Detailed Description

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

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.

Aliases

none

Required?

false

Position?

named

Default Value

none

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.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-CalculateSize

Indicates that DPM calculates the space allocated on a disk.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Datasource<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.

Aliases

none

Required?

true

Position?

1

Default Value

none

Accept Pipeline Input?

true (ByValue)

Accept Wildcard Characters?

false

-PrimaryDpmServer

Indicates that DPM recovers data to a DPM server.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Tag<Object>

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.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

Edit-DPMDiskAllocation

Set-DPMDatasourceDiskAllocation