From 0db1a7c1eea90f59eea47d9012190cc7cea15d8f Mon Sep 17 00:00:00 2001 From: JakubPiegza <45433779+JakubPiegza@users.noreply.github.com> Date: Thu, 30 Jan 2020 19:21:35 +0100 Subject: [PATCH] Update description.md --- .../description.md | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/Content Types/Get/Compare Web.AvailableContentTypes vs Web.ContentTypes/description.md b/Content Types/Get/Compare Web.AvailableContentTypes vs Web.ContentTypes/description.md index 88ce7072..b46ac438 100644 --- a/Content Types/Get/Compare Web.AvailableContentTypes vs Web.ContentTypes/description.md +++ b/Content Types/Get/Compare Web.AvailableContentTypes vs Web.ContentTypes/description.md @@ -2,24 +2,16 @@ Script is part of the explanation of the difference between Web.AvailableContent -SharePoint Online content types in Powershell: Get +[SharePoint Online content types in Powershell: Get](https://social.technet.microsoft.com/wiki/contents/articles/31151.sharepoint-online-content-types-in-powershell-get.aspx) -The script compares the number of items in the two content type collections. - - - - - +The script compares the number of items in the two content type collections. ([screenshot](https://github.com/PowershellScripts/AllGalleryScriptsSamples/blob/develop/Content%20Types/Get/Compare%20Web.AvailableContentTypes%20vs%20Web.ContentTypes/SubsiteCT2.PNG)) Before running, don't forget to open the file and enter your data: - - - -PowerShell +```PowerShell # Paths to SDK. Please verify location on your computer. Add-Type -Path "c:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\ISAPI\Microsoft.SharePoint.Client.dll" Add-Type -Path "c:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\ISAPI\Microsoft.SharePoint.Client.Runtime.dll" @@ -28,7 +20,7 @@ Add-Type -Path "c:\Program Files\Common Files\microsoft shared\Web Server Extens $Username="admin@tenant.onmicrosoft.com" $AdminPassword=Read-Host -Prompt "Password" -AsSecureString $AdminUrl="https://tenant.sharepoint.com/sites/teamsitewithlibraries/subsite" - +```

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