[SPO] Disable Office Graph for a specific user
In case your organization wants to enable Office Graph and Delve on tenant level, but still wants to avoid document discovery, here’s a script that […]
In case your organization wants to enable Office Graph and Delve on tenant level, but still wants to avoid document discovery, here’s a script that […]
Following my last post on publishing Ctypes on SharePoint online, here’s a script that allows you to un-publish them.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
#Unpublish Ctypes $file=Import-Csv C:\01Type\ToTest.csv foreach ($line in $file.id) { Write-Host $line $ie = New-Object -Com InternetExplorer.Application $ie.visible=$True $ie.Navigate("https://digi2019.sharepoint.com/sites/contenttypehub/_layouts/15/managectpublishing.aspx?ctype=$line") Start-Sleep 5 $Element = $ie.Document.body.getElementsByTagName('input') |? {$_.value -eq 'unpublishButton' } $Element.checked=$true $okButton = $ie.Document.body.getElementsByTagName('input') |? {$_.value -eq 'OK' } $okButton.click() Start-Sleep 5 $ie.quit() } |
The input list looks like: […]
Copyright © 2025 | PhoeNIXBird Networks