Help Center
Choose product document...
Veeam Backup for Microsoft Office 365 3.0
PowerShell Reference

Get-VBOUsageData

Short Description

Returns an information on the used space on repositories.

Syntax

This cmdlet provides the following parameter sets.

  • Get information on the used space of the specified repository

Get-VBOUsageData -Repository <VBORepository>  [<CommonParameters>]

  • Get information on the used space of the specified repository of the specified organization

Get-VBOUsageData -Repository <VBORepository> -Organization <VBOOrganization>  [<CommonParameters>]

  • Get information on the used repositories space of the specified organization

Get-VBOUsageData -Organization <VBOOrganization>  [<CommonParameters>]

Detailed Description

This cmdlet returns a representation entity of a used repository space by an organization or a representation of an organizations used data space on all used repositories.

Parameters

Parameter

Description

Required

Position

Accept
Pipeline
Input

Accept
Wildcard
Characters

Organization

Specifies a Veeam Backup for Office 365 organization. This cmdlet will return information on data usage of this organization.

True

Named

False

False

Repository

Specifies the name of the repository. This cmdlet will return information on data usage on this repository.

True

Named

False

False

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.

Example 1

This example shows how to get information on the data usage of a repository with a name "Repository1".

  1. Run Get-VBORepository with a Name parameter to get a repository with a name "Repository1". Save the result to the $repository variable.
  2. Run Get-VBOUsageData with the $repository variable to get the data usage information for the specified repository.

$repository = Get-VBORepository -Name "Repository1"

Get-VBOUsageData -Repository $repository

Example 2

This example shows how to get information on the data usage of an organization with a name "Organization1" on a repository with a name "Repository1".

  1. Run Get-VBORepository with a Name parameter to get to get a repository with a name "Repository1". Save the result to the $repository variable.
  2. Run Get-VBOOrganization with a Name parameter to get an organization with a name "Organization1". Save the result to the $organization variable.
  3. Run Get-VBOUsageData with the $repository and $organization variables to get the data usage information for the specified repository.

$repository = Get-VBORepository -Name "Repository1"

$organization = Get-VBOOrganization -Name "Organization1"

Get-VBOUsageData -Repository $repository -Organization $organization

Example 3

This example shows how to get information on the data usage of an organization with a name "Organization1".

  1. Run Get-VBOOrganization with a Name parameter to get an organization with a name "Organization1". Save the result to the $organization variable.
  2. Run Get-VBOUsageData with the $organization variable to get the data usage information for the specified organization.

$organization = Get-VBOOrganization -Name "Organization1"

Get-VBOUsageData -Organization $organization

Related Commands

Get-VBOOrganization

Veeam Large Logo

User Guide

RESTful API Reference

PowerShell Reference