Hello Mike
It looks like no site information was stored in your site variable. Which means no site was found by the name you have provided.
Please make sure you have used the correct site name/url. Use the following code to check what Sharepoint Sites you have in this repository.
I recommend to use the URL to filter the site you want to remove from the repository.
Best,
Fabian
It looks like no site information was stored in your site variable. Which means no site was found by the name you have provided.
Please make sure you have used the correct site name/url. Use the following code to check what Sharepoint Sites you have in this repository.
Code:
$repository = Get-VBORepository -Name "Default Backup Repository (D:)"Get-VBOEntityData -Type Site -Repository $repository | select title,Url,BackedUpTimeCode:
$repository = Get-VBORepository -Name "Default Backup Repository (D:)"$site = Get-VBOEntityData -Type Site -Repository $repository -Name "https://*******.sharepoint.com/sites/name"Remove-VBOEntityData -Repository $repository -Site $siteFabian
Statistics: Posted by Mildur — Sep 05, 2024 8:39 am





