Get-VBORepositoryMaintenanceSession
Short Description
Returns maintenance sessions started for backup repositories.
Syntax
This cmdlet provides the following parameter sets:
-
GetByFilter (Default)Get-VBORepositoryMaintenanceSession [-Repository <VBORepository>] [-State <VBOControllerSessionState>] [<CommonParameters>]
-
GetByIdGet-VBORepositoryMaintenanceSession -Id <Guid> [<CommonParameters>]
Detailed Description
This cmdlet returns maintenance sessions that are started for backup repositories.
During maintenance session, Veeam Backup for Microsoft 365 suspends operations on the backup repositories, and you can perform service operations on the storage where these repositories reside.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Id |
Specifies an ID of the maintenance session. The cmdlet will return details of this session. |
|
True |
Named |
False |
|
Repository |
Specifies a backup repository. The cmdlet will return maintenance sessions that are started for the specified backup repository.
Accepts the
To get this object, run the |
False |
Named |
True (ByValue) |
|
|
State |
Specifies a session state. The cmdlet will return maintenance sessions that are in the specified state:
|
|
False |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About Common Parameters section of Microsoft Learn.
Output Object
The cmdlet returns the VBORepositoryMaintenanceSession object that contains details on a maintenance session when Veeam Backup for Microsoft 365 suspends operations on a backup repository.
Examples
Example 1: Getting Maintenance Sessions Started for Specific Backup Repository
|
This example shows how to get maintenance sessions started for the Repository 09 backup repository and that are in the Finished state.
Perform the following steps:
|
Example 2: Getting Maintenance Session by ID
|
This command returns a maintenance session with the ID
|
Related Commands
Get-VBORepositoryReturns backup repositories.