From 4549f37eacdcb2fa96956f1f5149a93b5db40c15 Mon Sep 17 00:00:00 2001 From: JakubPiegza <45433779+JakubPiegza@users.noreply.github.com> Date: Thu, 30 Jan 2020 22:29:59 +0100 Subject: [PATCH] Update description.md --- .../description.md | 21 +++++++------------ 1 file changed, 8 insertions(+), 13 deletions(-) diff --git a/Content Types/Get/Find content types added to your lists/description.md b/Content Types/Get/Find content types added to your lists/description.md index b49bed1c..0762a07b 100644 --- a/Content Types/Get/Find content types added to your lists/description.md +++ b/Content Types/Get/Find content types added to your lists/description.md @@ -7,16 +7,12 @@ Very useful if you receive an error message: when trying to remove a content type. - - - -### How to use? +### *How to use?* +1. Download and install [SharePoint Online SDK](https://www.microsoft.com/en-us/download/details.aspx?id=42038). -1. Download and install SharePoint Online SDK. - -2. Download the .ps1 file. +2. Download the *.ps1* file. 3. Open the file (you can do it also in NotePad) @@ -35,19 +31,18 @@ $AdminPassword=Read-Host -Prompt "Password" -AsSecureString $AdminUrl="https://tenant.sharepoint.com/sites/teamsitewithlibraries" ``` -a) Find on your computer where SharePoint.Clitent.dll and SharePoint.Client.Runtime.dll libraries are located and insert the correct paths -b) Instead of "admin@tenant.onmicrosoft.com" enter you username -c) Instead of "https://tenant.sharepoint.com/sites/teamsitewithlibraries" enter the name of the site collection where you want to find the content types +a) Find on your computer where SharePoint.Clitent.dll and SharePoint.Client.Runtime.dll libraries are located and insert the correct paths
+b) Instead of "admin@tenant.onmicrosoft.com" enter you username
+c) Instead of "https://tenant.sharepoint.com/sites/teamsitewithlibraries" enter the name of the site collection where you want to find the content types
- 5. Run the script in Powershell (any module). 6. The result should show the list names in green and connected content types below them - +

-Enjoy and please share feedback! \ No newline at end of file +Enjoy and please share feedback!