## PowerCLI Reference

# Get-DrmInfo

## Synopsis

This cmdlet retrieves DrmDumpInfo of each cluster from a vCenter Server system.

Syntax

Get-DrmInfo [-Cluster <Cluster[]>] [-Start <DateTime>] [-Finish <DateTime>] [-NumFiles <Int32>] [<CommonParameters>]
Get-DrmInfo [-Cluster <Cluster[]>] [-Start <DateTime>] [-Finish <DateTime>] [-NumFiles <Int32>] [-DestinationPath <String>] [<CommonParameters>]

Related Commands

Online version

Detailed Description

This cmdlet retrieves DrmDumpInfo of each cluster from a vCenter Server system. By default, if you do not provide any specifications, the cmdlet returns information about all available dump files. If you provide the number of files or specify the Start and Finish parameters, the cmdlet filters the dump files information based on the specifications. If DestinationPath is specified, the DRM dump file bundles are downloaded.

Parameters

Name | Type | Description | Required? | Pipeline Input | Default Value
--- | --- | --- | --- | --- | ---
Cluster | Cluster[] | Specifies the name of the cluster you want to query or download the DRM dump files from. If not specified, the DRM dump files from all the clusters are queried or downloaded. | false | true (ByValue)
DestinationPath | String | Specifies a local file path where you want to save the DRM dump files. In the file path, a folder with the vCenter Server name and current timestamp is created. Inside this folder, DRM dump bundles are downloaded and named after their respective clusters. | false | false
Finish | DateTime | Specifies the end time up to which you want to request the DRM dump files. | false | false
NumFiles | Int32 | Specifies the total number of dump files for which you want to generate the DRM bundle. This limits the number of files to look for in descending order within the time period. If not specified, all files from the time range are queried and bundled. | false | false
Start | DateTime | Specifies the start time from which you want to request the DRM dump files. | false | false

Return Type

One DrmDumpInfo per cluster for QueryInfo or One DrmDumpBundle per cluster for DownloadFiles

Notes

Examples

-------------- Example 1 --------------

    Get-DrmInfo ?Cluster cls -Start 2015-01-07T14:15:01Z -Finish 2015-01-07T14:15:01Z -DestinationPath "C:\temp"

Downloads all DRM bundles from the cls cluster, that are created in the specified time range, to the specified destination path.

-------------- Example 2 --------------

    Get-Cluster cls | Get-DrmInfo -Start 2015-01-07T14:15:01Z -Finish 2015-01-07T14:15:01Z -DestinationPath "C:\temp"

Downloads all DRM bundles from the cls cluster, that are created in the specified time range, to the specified destination path.

-------------- Example 3 --------------

    Get-DrmInfo -Start 2015-01-07T14:15:01Z -Finish 2015-01-07T14:15:01Z ?NumFiles 30

Lists the DrmDumpInfo of the latest 30 dump files from all clusters for the specified time period.

-------------- Example 4 --------------

    Get-DrmInfo -DestinationPath "C:\temp"

Downloads all dump files collected from all clusters to the specified destination path.

Copyright © VMware, Inc. All rights reserved.