Get-VBOOrganizationGroup
Short Description
Returns organization groups.
Syntax
This cmdlet provides the following parameter sets:
-
All (Default)Get-VBOOrganizationGroup -Organization <VBOOrganization> [-Limit <UInt64>] [-Type <VBOOrganizationGroupType>]
[-NotInJob] [-LocationFilter <VBOLocationFilters>] [-DataSource <VBOOrganizationDataSource>] [<CommonParameters>]
-
ByNameGet-VBOOrganizationGroup -Organization <VBOOrganization> [-Name <String>] [-DisplayName <String>]
[-GroupName <String>] [-Limit <UInt64>] [-Type <VBOOrganizationGroupType>] [-NotInJob]
[-LocationFilter <VBOLocationFilters>] [-DataSource <VBOOrganizationDataSource>] [<CommonParameters>]
-
ByIdGet-VBOOrganizationGroup -Organization <VBOOrganization> [-OfficeId <Guid>] [-OnPremisesId <Guid>]
[-Type <VBOOrganizationGroupType>] [-NotInJob] [-DataSource <VBOOrganizationDataSource>] [<CommonParameters>]
Detailed Description
This cmdlet returns Microsoft Exchange and Microsoft SharePoint organization groups.
Parameters
|
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 |
<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 an array of the VBOOrganizationGroup objects that contain details about Microsoft Exchange and Microsoft SharePoint organization groups.
Examples
Example 1: Getting All Groups in Microsoft Organization
|
This example shows how to get all organization groups in the ABC organization.
Perform the following steps:
|
Example 2: Getting Specific Group
|
This example shows how to get an organization group with the display name UsersAlpha from the ABC organization.
Perform the following steps:
|
Example 3: Getting Groups of Specific Type
|
This example shows how to get all organization groups with a display name starting with A of the Office365 type that are not manually included in any of backup jobs.
Perform the following steps:
|
Related Commands
Get-VBOOrganizationReturns Microsoft organizations added to the Veeam Backup for Microsoft 365 infrastructure.