Get-VEODOrganization
Short Description
Returns Microsoft OneDrive organizations added to Veeam Backup for Microsoft 365.
Product: Veeam Backup for Microsoft 365
Product Edition: Community, Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Get-VEODOrganization [-Session] <VBOOneDriveItemRestoreSession> [[-Name] <String[]>] [<CommonParameters>] |
Detailed Description
This cmdlet returns Microsoft OneDrive organizations added to Veeam Backup for Microsoft 365.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Name |
Specifies an array of Microsoft OneDrive organization names. The cmdlet will return an array of organizations with these names. This parameter accepts wildcard characters. |
|
False |
1 |
False |
|
Session |
Specifies an active Microsoft OneDrive restore session. This cmdlet will return organizations from the specified restore session.
Accepts the |
True |
0 |
True (ByValue) |
<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 VBOOneDriveOrganization[] array that contains OneDrive organizations added to Veeam Backup for Microsoft 365.
Examples
Getting Microsoft OneDrive Organization
This example shows how to get the ABC OneDrive organization added to Veeam Backup for Microsoft 365.
|
$session = Get-VEODRestoreSession Get-VEODOrganization -Session $session -Name "ABC*" |
Perform the following steps:
- Run the
Get-VEODRestoreSessionReturns active restore sessions started to perform operations with backed-up OneDrive items. cmdlet. Save the result to the$sessionvariable. - Run the
Get-VEODOrganizationcmdlet. Set the$sessionas theSessionparameter value. Specify theNameparameter value. Use the * wildcard character to substitute the timestamp.
Related Commands
Get-VEODRestoreSessionReturns active restore sessions started to perform operations with backed-up OneDrive items.