--- title: "Get-VBOOrganizationGroup" description: "This cmdlet returns Microsoft Exchange and Microsoft SharePoint organization groups." canonical: "https://helpcenter.veeam.com/docs/vbo365/powershell/get-vboorganizationgroup.html" breadcrumb: "PowerShell Reference > Veeam Backup for Microsoft 365 PowerShell Reference > Organizations Management > Organization Items > Get-VBOOrganizationGroup" dateModified: "2026-08-21" --- # Get-VBOOrganizationGroup ## Short Description Returns organization groups. ## Syntax This cmdlet provides the following parameter sets:
All (Default)
ByName
ById
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
DataSource |
Specifies how the cmdlet will return organization groups:
Default: PreferLocal |
|
False |
Named |
False |
|
DisplayName |
Specifies a display name of an organization group. The cmdlet will return organization groups with this display name. |
|
False |
Named |
False |
|
GroupName |
Specifies a group name of an organization group. The cmdlet will return the organization group with this group name. |
|
False |
Named |
False |
|
Limit |
Specifies the maximum number of groups that the cmdlet will return. |
|
False |
Named |
False |
|
LocationFilter |
Note: Use this parameter for organizations of the Specifies an organization group location type:
The cmdlet will return organization groups of this location type. |
|
False |
Named |
False |
|
Name |
Note: This parameter is deprecated. Use the Specifies a name of an organization group. The cmdlet will return organization groups with this name. |
|
False |
Named |
False |
|
NotInJob |
Defines that the cmdlet will return groups that are not manually included in any of the backup jobs. Default: False Note: If a group is backed up by the |
|
False |
Named |
False |
|
OfficeId |
Specifies ID of a Microsoft 365 organization group. The cmdlet will return the organization group with this ID. |
|
False |
Named |
False |
|
OnPremisesId |
Specifies ID of an on-premises organization group. The cmdlet will return the organization group with this ID. |
|
False |
Named |
False |
|
Organization |
Specifies a Microsoft organization. The cmdlet will return organization groups of the specified organization. Accepts the To get this object, run the |
True |
Named |
True (ByValue) |
|
|
Type |
Specifies the organization group type:
The cmdlet will return organization groups of this type. Note: The cmdlet will not return organization groups of an on-premises organization with SharePoint components. |
|
False |
Named |
False |