Get-VBOUserProtectionReport

Short Description

Generates reports on protected and unprotected user accounts of the Microsoft 365 and on-premises Microsoft organizations.

Syntax

Get-VBOUserProtectionReport -Path <string> -Format {PDF | CSV} [-Organization <VBOOrganization>] [-Timezone <TimeZoneInfo>]  [<CommonParameters>]

Detailed Description

This cmdlet generates a report on user accounts of the Microsoft 365 and on-premises Microsoft organizations. This report contains statistical data on users considered protected, unprotected and unprotected with restore points.

Get-VBOUserProtectionReport Note

This cmdlet is available starting from Veeam Backup for Microsoft 365 version 6a (build 6.1.0.222).

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Accept Wildcard Characters

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

Organization

Specifies an organization. The cmdlet will generate a report on user accounts of this organization.

Accepts the VBOOrganization object.

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

False

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-VBOUserProtectionReportExample 1. Generating User Protection Report

This command generates a report for users of the ABC Microsoft organization. The report is generated with the following settings:

  • The cmdlet will save the report to the folder that is located at the following path: C:\tmp.
  • The cmdlet will generate the report in the CSV format.
  • The cmdlet will generate the report in the UTC timezone.

$org = Get-VBOOrganization -Name "ABC"

Get-VBOUserProtectionReport -Path "C:\tmp" -Format CSV -Organization $org

Perform the following steps:

  1. Run the Get-VBOOrganization cmdlet. Save the result to the $org variable.
  2. Run the Get-VBOUserProtectionReport cmdlet. Specify the following settings:
  • Set the $org variable as the Organization parameter value.
  • Specify the Path parameter value.
  • Specify the Format parameter value.

Get-VBOUserProtectionReportExample 2. Generating User Protection Report with Timezone

This example shows how to generate a report for users of Microsoft organizations. The report is generated with the following settings:

  • The cmdlet will save the report to the folder that is located at the following path: C:\share.
  • The cmdlet will generate the report in the CSV format.
  • The cmdlet will generate the report in the specified timezone.

$timezone = Get-TimeZone

Get-VBOUserProtectionReport -Path "C:\share" -Format CSV -TimeZone $timezone

Perform the following steps:

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

Related Commands