Hi
I'm using a modified version of this script: https://github.com/VeeamHub/powershell/ ... spjobs.ps1 and therefore, the command: Get-VBOOrganizationSite in this script is used to list all sharepoint sites which are not in a veeam backup job. The problem is, that this commands still lists sharepoint sites, even if they are deleted. The backupjob of such sites always shows then a Warning. Is there a way to only get "active sharepoint" sites with this command, without the deleted sites? Or is there a way to get all deleted sites via powershell, that would help as well?
thx,
sandsturm
-
- Veteran
- Posts: 317
- Liked: 32 times
- Joined: Mar 23, 2015 8:30 am
- Location: Switzerland
- Contact:
-
- Product Manager
- Posts: 10637
- Liked: 2866 times
- Joined: May 13, 2017 4:51 pm
- Full Name: Fabian K.
- Location: Switzerland
- Contact:
Re: Get-VBOOrganizationSite only for active sharepoint sites
Hi Sandsturm
Checked in my lab. Doesn‘t see a way just with VBO Powershell commands.
I suggest using Get-SPOSite to get all active sides and compare the list from Get-VBOOrganizationSite -NotInJob with the list from Get-SPOSite before adding the site as a backup job item.
Thanks
Fabian
Checked in my lab. Doesn‘t see a way just with VBO Powershell commands.
I suggest using Get-SPOSite to get all active sides and compare the list from Get-VBOOrganizationSite -NotInJob with the list from Get-SPOSite before adding the site as a backup job item.
Thanks
Fabian
Product Management Analyst @ Veeam Software
-
- Veeam Software
- Posts: 3551
- Liked: 844 times
- Joined: Oct 21, 2011 11:22 am
- Full Name: Polina Vasileva
- Contact:
Re: Get-VBOOrganizationSite only for active sharepoint sites
Hi sandsturm,
The Get-SPODeletedSite should provide the list of deleted site collections retained in a bin.
The Get-SPODeletedSite should provide the list of deleted site collections retained in a bin.
Who is online
Users browsing this forum: No registered users and 2 guests