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.

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. This parameter is useful if the cmdlet takes a long time to complete or if you build a graphical user interface (GUI) by using cmdlets. Do not use this parameter if you are working with the System Center 2012 – Data Protection Manager (DPM) Management Shell.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-CalculateShrinkThresholds

Indicates that DPM must calculate the thresholds to which the recovery point volume can shrink.

This parameter sets the properties ShadowCopySizeAfterMaxShrink and ShadowCopySizeAfterMinShrink. When you use this parameter, the Get-DiskAllocation cmdlet returns two values. To shrink 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 shrink 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 share or volume in a Windows file system, Microsoft SQL Server database, Microsoft Exchange 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.

This parameter is useful if you build a GUI 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.

Notes

  • For more information, type "Get-Help Set-DPMDatasourceDefaultDiskAllocation detailed".

Examples

PS C:\> 

Edit-DPMDiskAllocation

Set-DPMDatasourceDiskAllocation