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
Want to keep your lists tidy? Saving space?? This is a solution for you! Looking for a quick way to restore the option for all lists?
2
+
</br>**This is also a solution for you! :)**
3
+
4
+
5
+
Want to keep your lists tidy? Saving space? Do you want to prevent users from adding unnecessary attachments to the list because their place belongs elsewhere?
6
+
This is a solution for you!
7
+
Or maybe you already disabled the feature? For some of the lists - for some not, and now you are looking for a quick way to restore the option for all lists?
8
+
9
+
This is also a solution for you! :)
10
+
11
+
12
+
13
+
14
+
15
+
16
+
</br>**This is also a solution for you! :)**
17
+
18
+
19
+
```Powershell
20
+
# Paths to SDK. Please verify location on your computer.
21
+
Add-Type -Path "c:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\ISAPI\Microsoft.SharePoint.Client.dll"
22
+
Add-Type -Path "c:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\ISAPI\Microsoft.SharePoint.Client.Runtime.dll"
23
+
24
+
# Insert the credentials and the name of the site and the desired setting: $true or $false
For full description please refer here to the [Wiki Article](https://social.technet.microsoft.com/wiki/contents/articles/30024.sharepoint-online-disable-or-enable-attachments-to-list-items-using-powershell.aspx)
38
+
39
+
40
+
41
+
<br/><br/>
42
+
<b>Enjoy and please share feedback!</b>
43
+
44
+
**Related scripts** </br>
45
+
[Set direction of the reading order for a single list](https://gallery.technet.microsoft.com/office/Set-the-direction-of-the-f17ca66a)
0 commit comments