Get-VBOStorageConsumptionReport

Short Description

Generates reports on the Veeam Backup for Microsoft 365 storage consumption.

Syntax

Get-VBOStorageConsumptionReport -StartTime <datetime> -EndTime <datetime> -Path <String> -Format <VBOReportFormat> [-Timezone <TimeZoneInfo>] [<CommonParameters>]

Detailed Description

This cmdlet generates reports on the Veeam Backup for Microsoft 365 storage consumption. This report contains details on used space in the backup repository or object storage.

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Accept Wildcard Characters

StartTime

Specifies the start date for the report period. The cmdlet will generate a report which contains information on the Veeam Backup for Microsoft 365 storage consumption for a period starting from the specified date.

DateTime

True

Named

False

False

EndTime

Specifies the end date for the report period. The cmdlet will generate a report which contains information on the Veeam Backup for Microsoft 365 storage consumption for a period ending on the specified date.

DateTime

True

Named

False

False

Path

Specifies a path to the folder. The cmdlet will save a report to this folder.

String

True

Named

False

False

Format

Specifies in which format the cmdlet will save the report:

  • PDF
  • CSV

VBOReportFormat

True

Named

False

False

Timezone

Specifies a timezone that you want to show in the report. The timezone is displayed at the bottom of the report page.

Note: If you do not provide this parameter, the cmdlet will generate a report in the UTC timezone.

Accepts the TimeZoneInfo object.

To get this object, run the Get-TimeZone cmdlet.

False

Named

False

False

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.

Examples

Get-VBOStorageConsumptionReportExample 1. Generating Storage Consumption Report

This command generates a report on the Veeam Backup for Microsoft 365 storage consumption with the following settings:

  • The report period is set from 11/26/2022 to 11/26/2022.
  • The cmdlet will generate the report in the CSV format.
  • The cmdlet will generate the report in the UTC timezone.

Get-VBOStorageConsumptionReport -StartTime 01/01/2022 -EndTime 11/26/2022 -Path "C:\share" -Format CSV

Get-VBOStorageConsumptionReportExample 2. Generating Storage Consumption Report with Timezone

This example shows how to generate a report on the Veeam Backup for Microsoft 365 storage consumption with the following settings:

  • The report period is set from 01/01/2022 to 11/26/2022.
  • The cmdlet will generate the report in the CSV format.
  • The cmdlet will generate the report in the specified timezone.

$timezone = Get-TimeZone

Get-VBOStorageConsumptionReport -StartTime 01/01/2022 -EndTime 11/26/2022 -Path "C:\share" -Format CSV -TimeZone $timezone

Perform the following steps:

  1. Run the Get-TimeZone cmdlet. Save the result to the $timezone variable.
  1. Run the Get-VBOStorageConsumptionReport cmdlet. Specify the following settings:
  • Provide the StartTime parameter.
  • Provide the EndTime parameter.
  • Provide the Path parameter.
  • Provide the Format parameter.
  • Set the $timezone variable as the TimeZone parameter value.

Related Commands

Get-TimeZone