Get-VBOOrganizationTeam
Short Description
Returns organization teams.
Syntax
This cmdlet provides parameter sets that allow you to:
- Get all teams of the specified organization.
- Get an organization team with the specified ID.
Get-VBOOrganizationTeam -Organization <VBOOrganization> [-Id <guid>] [-NotInJob] [<CommonParameters>] |
- Get an organization team with the specified name.
Get-VBOOrganizationTeam -Organization <VBOOrganization> [-DisplayName <string>] [-NotInJob] [<CommonParameters>] |
Detailed Description
This cmdlet returns organization teams.
Parameters
Parameter | Description | Type | Required | Position | Accept Pipeline Input | Accept Wildcard Characters |
---|---|---|---|---|---|---|
Id | Specifies the team ID. The cmdlet will return the team with the specified ID. | Guid | False | Named | False | False |
DisplayName | Specifies the display name of a team. The cmdlet will return the team with the specified display name. | String | False | Named | False | True |
Organization | Specifies an organization. The cmdlet will return teams of a specified organization. | Accepts the VBOOrganization object. To get this object, run the Get-VBOOrganization cmdlet. | True | Named | True (ByValue) | False |
NotInJob | Defines that the cmdlet will return teams that are not manually included in any of the backup jobs. Note: If a team is backed up by the EntireOrganization job, it also will be considered as not included in backups jobs. | SwitchParameter | False | Named | False | False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.
Examples
Example 1. Getting All Unprocessed Teams in Microsoft Organization
This example shows how to get all organization teams for an organization with the name ABC that are not backed up by any job. Perform the following steps:
|
Example 2. Getting Specific Team by ID
This example shows how to get a team with the ID 47972f7d-05c4-43b5-95f7-60735ee56006 for an organization with the name ABC.
Perform the following steps:
|
Example 3. Getting Specific Team by Display Name
This example shows how to get a team with the display name IT for an organization with the name ABC. Perform the following steps:
|
Related Commands