Поделиться через


Get-DPMLibrary

Get-DPMLibrary

Gets libraries associated with a DPM server.

Syntax

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

Detailed Description

The Get-DPMLibrary cmdlet gets the libraries associated with a System Center 2012 – Data Protection Manager (DPM) server. You can use this cmdlet to get libraries to use with other cmdlets, such as the Enable-DPMLibrary and Disable-DPMLibrary cmdlets, or you can use the Get-DPMLibrary cmdlet to view the libraries associated with a DPM server and the library status.

Parameters

-DPMServerName<String>

Specifies the name of a DPM server for which this cmdlet gets libraries.

Aliases

none

Required?

false

Position?

1

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

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.

  • Library

Examples

Example 1: Get libraries associated with a server

This command gets the libraries associated with the DPM server named DPMServer07.

PS C:\> Get-DPMLibrary -DPMServerName "DPMServer07"

Disable-DPMLibrary

Enable-DPMLibrary

Rename-DPMLibrary