共用方式為


Get-DPMVolume

Get-DPMVolume

Gets the volumes on the DPM server.

Syntax

Parameter Set: Default
Get-DPMVolume [[-DPMServerName] <String> ] [-AlreadyInUseByDPM] [ <CommonParameters>]

Detailed Description

The Get-DPMVolume cmdlet retrieves the volumes on the System Center 2012 – Data Protection Manager (DPM) server.

Parameters

-AlreadyInUseByDPM

Indicates whether to include volumes that are already being used on the DPM server.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-DPMServerName<String>

Specifies the name of a DPM server from which this cmdlet gets volumes.

Aliases

ComputerName,CN

Required?

false

Position?

1

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.

Examples

Example 1: Retrieve volumes on a DPM server

This command retrieves the DPM volumes on the server named Contoso-DPMServer.

PS C:\> Get-DPMVolume -DPMServerName "Contoso-DPMServer"