Skip to content

Commit 14111e0

Browse files
Merge pull request #95 from JakubPiegza/patch-42
Update description.md
2 parents 68d1e53 + c026f93 commit 14111e0

File tree

1 file changed

+11
-24
lines changed
  • Content Types/Get/Get All Properties of All Content Types in All Lists (Detailed) across one site

1 file changed

+11
-24
lines changed

Content Types/Get/Get All Properties of All Content Types in All Lists (Detailed) across one site/description.md

Lines changed: 11 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,8 @@
11
A short script to get all properties of all content types in all lists across one SharePoint site.
22

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).
44

5-
http://social.technet.microsoft.com/wiki/contents/articles/31051.sharepoint-online-content-types-in-powershell.aspx
6-
7-
8-
9-
10-
11-
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:
126

137
+ In addition to all the default properties it adds also every workflow, field, and fieldLink instance as an additional custom property.
148

@@ -18,22 +12,16 @@ The script is similar to Get all properties of all content types in a SharePoint
1812

1913

2014

21-
### How to use?
22-
23-
15+
### *How to use?*
2416

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).
2618

27-
2. Download the .ps1 file.
19+
2. Download the *.ps1* file.
2820

2921
3. Open the file (you can do it also in NotePad)
3022

3123
4. Insert your data in these lines:
3224

33-
34-
35-
36-
3725
```PowerShell
3826
# Paths to SDK. Please verify location on your computer.
3927
Add-Type -Path "c:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\ISAPI\Microsoft.SharePoint.Client.dll"
@@ -44,18 +32,17 @@ $Username="admin@tenant.onmicrosoft.com"
4432
$AdminPassword=Read-Host -Prompt "Password" -AsSecureString
4533
$AdminUrl="https://tenant.sharepoint.com/sites/teamsitewithlibraries"
4634
```
47-
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>
5439

5540
5. Run the script in Powershell (any module).
5641

5742
6. Results can be viewed either in Powershell window or exported to csv as a report:
5843

44+
<img src="../Get All Properties of All Content Types in All Lists (Detailed) across one site/GetPropertiesWITHOUTExtr.PNG" width="850">
45+
<img src="../Get All Properties of All Content Types in All Lists (Detailed) across one site/GetPropertiesWITHOUTExtr2.PNG" width="850">
5946

6047

6148

0 commit comments

Comments
 (0)