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
Copy file name to clipboardExpand all lines: Content Types/Get/Get All Properties of All Content Types in All Lists (Detailed) across one site/description.md
+11-24Lines changed: 11 additions & 24 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,14 +1,8 @@
1
1
A short script to get all properties of all content types in all lists across one SharePoint site.
2
2
3
-
The script is fully described in an article here:
3
+
The script is fully described in an article [here](http://social.technet.microsoft.com/wiki/contents/articles/31051.sharepoint-online-content-types-in-powershell.aspx).
The script is similar to Get all properties of all content types in a SharePoint site with the following differences:
5
+
The script is similar to [Get all properties of all content types in a SharePoint site](https://gallery.technet.microsoft.com/Get-all-properties-of-all-3a9c5c4b) with the following differences:
12
6
13
7
+ In addition to all the default properties it adds also every workflow, field, and fieldLink instance as an additional custom property.
14
8
@@ -18,22 +12,16 @@ The script is similar to Get all properties of all content types in a SharePoint
18
12
19
13
20
14
21
-
### How to use?
22
-
23
-
15
+
### *How to use?*
24
16
25
-
1. Download and install SharePoint Online SDK.
17
+
1. Download and install [SharePoint Online SDK](https://www.microsoft.com/en-us/download/details.aspx?id=42038).
26
18
27
-
2. Download the .ps1 file.
19
+
2. Download the *.ps1* file.
28
20
29
21
3. Open the file (you can do it also in NotePad)
30
22
31
23
4. Insert your data in these lines:
32
24
33
-
34
-
35
-
36
-
37
25
```PowerShell
38
26
# Paths to SDK. Please verify location on your computer.
39
27
Add-Type -Path "c:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\ISAPI\Microsoft.SharePoint.Client.dll"
a) Find on your computer where SharePoint.Clitent.dll and SharePoint.Client.Runtime.dll libraries are located and insert the correct paths
48
-
b) Instead of "admin@tenant.onmicrosoft.com" enter you username
49
-
c) Instead of "https://tenant.sharepoint.com/sites/teamsitewithlibraries" enter the name of the site collection where you want to find the content types
50
-
d) Fill in the properties of the content type.
51
-
52
-
53
-
35
+
a) Find on your computer where SharePoint.Clitent.dll and SharePoint.Client.Runtime.dll libraries are located and insert the correct paths </br>
36
+
b) Instead of "admin@tenant.onmicrosoft.com" enter you username </br>
37
+
c) Instead of "https://tenant.sharepoint.com/sites/teamsitewithlibraries" enter the name of the site collection where you want to find the content types </br>
38
+
d) Fill in the properties of the content type. </br>
54
39
55
40
5. Run the script in Powershell (any module).
56
41
57
42
6. Results can be viewed either in Powershell window or exported to csv as a report:
58
43
44
+
<imgsrc="../Get All Properties of All Content Types in All Lists (Detailed) across one site/GetPropertiesWITHOUTExtr.PNG"width="850">
45
+
<imgsrc="../Get All Properties of All Content Types in All Lists (Detailed) across one site/GetPropertiesWITHOUTExtr2.PNG"width="850">
0 commit comments