Get-VBOOrganizationGroupMember
Short Description
Returns members of organization groups.
Syntax
|
Get-VBOOrganizationGroupMember -Group <VBOOrganizationGroup> [-DataSource <VBOOrganizationDataSource>] [<CommonParameters>] |
Detailed Description
This cmdlet returns an array of members added to organization groups.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
DataSource |
Specifies how the cmdlet will return members of organization groups:
Default: PreferLocal |
|
False |
Named |
False |
|
Group |
Specifies an organization group. The cmdlet will return members added to this group.
Accepts the
To get this object, run the |
True |
Named |
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
This cmdlet returns the VBOOrganizationGroupMember object that contains an array of members added to organization groups.
Examples
Getting Organization Group Members
This example shows how to get organization group members added to organization groups.
|
$organization = Get-VBOOrganization $group = Get-VBOOrganizationGroup -Organization $organization -DisplayName "Exchange Group" Get-VBOOrganizationGroupMember -Group $group |
Perform the following steps:
- Run the
Get-VBOOrganizationReturns Microsoft organizations added to the Veeam Backup for Microsoft 365 infrastructure. cmdlet. Save the result to the$organizationvariable. - Run the
Get-VBOOrganizationGroupReturns organization groups. cmdlet. Set the$organizationvariable as theOrganizationparameter value. Specify theDisplayNameparameter value. Save the result to the$groupvariable. - Run the
Get-VBOOrganizationGroupMembercmdlet. Set the$groupvariable as theGroupparameter value.
Related Commands
Get-VBOOrganizationReturns Microsoft organizations added to the Veeam Backup for Microsoft 365 infrastructure.Get-VBOOrganizationGroupReturns organization groups.