You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Short Powershell script that enables or disables a setting to send emails to OneDrive for Business owners when someone creates an anonymous link to the ODB owner's content.
2
+
3
+
It uses CSOm and requires SharePoint Online SDK. The script is part of and more explained in a Technet Wiki article:
4
+
[OneDrive for Business notification settings with Powershell](https://social.technet.microsoft.com/wiki/contents/articles/39385.onedrive-for-business-notifications-with-powershell.aspx)
5
+
6
+
7
+
## How to use?
8
+
9
+
- Download and open the .ps1 file.
10
+
- Add correct libraries:
11
+
12
+
```PowerShell
13
+
#Paths to SDK
14
+
Add-Type -Path "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\ISAPI\Microsoft.SharePoint.Client.dll"
0 commit comments