Get-VBOOrganizationSite
Short Description
Returns organization sites.
Syntax
This cmdlet provides the following parameter sets:
-
All (Default)Get-VBOOrganizationSite -Organization <VBOOrganization> [-IncludePersonalSite] [-IncludeSearchSite] [-NotInJob]
[-Recurse] [-LocationFilter <VBOSiteLocationFilters>] [-Filter <String>]
[-DataSource <VBOOrganizationDataSource>] [<CommonParameters>]
-
ByURLGet-VBOOrganizationSite -Organization <VBOOrganization> [-URL <String>] [-IncludePersonalSite]
[-IncludeSearchSite] [-NotInJob] [-Recurse] [-LocationFilter <VBOSiteLocationFilters>] [-Filter <String>]
[-DataSource <VBOOrganizationDataSource>] [<CommonParameters>]
-
ByParentGet-VBOOrganizationSite -Organization <VBOOrganization> [-ParentURL <String>] [-IncludePersonalSite]
[-IncludeSearchSite] [-NotInJob] [-Recurse] [-LocationFilter <VBOSiteLocationFilters>] [-Filter <String>]
[-DataSource <VBOOrganizationDataSource>] [<CommonParameters>]
Detailed Description
This cmdlet returns Microsoft organization sites.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
DataSource |
Specifies how the cmdlet will return organization sites:
Default: PreferLocal |
|
False |
Named |
False |
|
Filter |
Specifies a keyword to filter organization sites. The cmdlet will return sites that match this search criterion. |
|
False |
Named |
False |
|
IncludePersonalSite |
Defines that the cmdlet will return personal sites along with the other organization sites. Default: False |
|
False |
Named |
False |
|
IncludeSearchSite |
Defines that the cmdlet will return search sites along with the other organization sites. Default: False |
|
False |
Named |
False |
|
LocationFilter |
Note: Use this parameter for organizations of the Specifies an organization site location type:
The cmdlet will return organization sites of this location type. |
|
False |
Named |
False |
|
NotInJob |
Defines that the cmdlet will return sites that are not manually included in any of the backup jobs. Default: False
Note: If a site is backed up by the |
|
False |
Named |
False |
|
Organization |
Specifies a Microsoft organization. The cmdlet will return organization sites of the specified organization.
Accepts the
To get this object, run the |
True |
Named |
True (ByValue) |
|
|
ParentURL |
Specifies parent organization site URL.
If the |
|
False |
Named |
False |
|
Recurse |
Defines that the cmdlet will return all sub-level child sites. Default: False |
|
False |
Named |
False |
|
URL |
Specifies the organization site URL.
If the |
|
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 VBOOrganizationSite objects that contain details about Microsoft organization sites.
Examples
Example 1: Getting All Unprocessed Sites in Microsoft Organization
|
This example shows how to get all organization sites in the ABC organization that are not backed up by any backup job.
Perform the following steps:
|
Example 2: Getting Specific Site Including All Child Sites
|
This example shows how to get an organization site under a certain URL and all of its child sites.
Perform the following steps:
|
Example 3: Getting Only Child Sites
|
This example shows how to get only one sub-level child site of the parent organization site
Perform the following steps:
|
Related Commands
Get-VBOOrganizationReturns Microsoft organizations added to the Veeam Backup for Microsoft 365 infrastructure.