How to implement "Add sharepoint sites in Collection using powershell"
How to implement "Add sharepoint sites in Collection using powershell"
How to implement "Add sharepoint sites in Collection using powershell" example : Sharepoint Site - TestSPO , Collection Name = "TestAddCollection" using csv i need to add sharepoint sites into collection . Please provide code . Thanks for your help and support
$CollectionName = "TestAddCollection"
$ObjectsInCollection = get-odmcollection -Name $CollectionName | get-odmobjet -all
Get-OdmCollection -Name $CollectionName | Remove-OdmObject -object $ObjectsInCollection -Confirm:$false
Thank you for your guidance. will test and let you know
Thank you for your guidance. will test and let you know