From 825084809ae0980ff5ad3b3c48b59718813f5cd3 Mon Sep 17 00:00:00 2001 From: JakubPiegza <45433779+JakubPiegza@users.noreply.github.com> Date: Thu, 30 Jan 2020 00:17:24 +0100 Subject: [PATCH] Update description.md --- .../description.md | 47 +++++-------------- 1 file changed, 13 insertions(+), 34 deletions(-) diff --git a/Content Types/Content Types Management Setting/Set content type management setting for a single list/description.md b/Content Types/Content Types Management Setting/Set content type management setting for a single list/description.md index 5334bd57..8ae3f756 100644 --- a/Content Types/Content Types Management Setting/Set content type management setting for a single list/description.md +++ b/Content Types/Content Types Management Setting/Set content type management setting for a single list/description.md @@ -1,32 +1,18 @@ -Short Powershell script to allow management of content types for a SharePoint Online list or library. It is an equivalent of List>>List Settings>>Advanced>>Content types in User Interface Applies to lists and libraries. +Short Powershell script to allow management of content types for a SharePoint Online list or library. It is an equivalent of **List**>>**List Settings**>>**Advanced**>>**Content types in User Interface Applies to lists and libraries**. A short Powershell script to allow management of content types for a SharePoint Online list or library. - - -It is an equivalent of List>>List Settings>>Advanced>>Content types in Graphic User Interface (see screenshot) - - - - - - - - +It is an equivalent of **List**>>**List Settings**>>**Advanced**>>**Content types in Graphic User Interface** ([see screenshot](https://github.com/PowershellScripts/AllGalleryScriptsSamples/blob/develop/Content%20Types/Content%20Types%20Management%20Setting/Set%20content%20type%20management%20setting%20for%20a%20single%20list/contentTypeManagement.png)) Applies to lists and libraries. - - - - -It requires installed SharePoint Online SDK +*It requires installed* [SharePoint Online SDK](http://www.microsoft.com/en-us/download/details.aspx?id=42038) You have to enter the list information before running the script: -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" @@ -37,30 +23,23 @@ $AdminPassword="Pass" $Url="https://trialtrial123.sharepoint.com/sites/teamsitewithlists" $ListName="Tasks list" $ContentTypesEnabled =$false - - +``` - -Please share your thoughts in the Q&A section! +### Please share your thoughts in the Q&A section! - - -Wiki article with detailed code description: - +#### Wiki article with detailed code description: -SharePoint Online: Turn on support for multiple content types in a list or library using Powershell - - +[SharePoint Online: Turn on support for multiple content types in a list or library using Powershell](social.technet.microsoft.com/wiki/contents/articles/30038.sharepoint-online-turn-on-support-for-multiple-content-types-in-a-list-or-library-using-powershell.aspx) -Related scripts -Set direction of the reading order for a single list +#### Related scripts +[Set direction of the reading order for a single list](https://gallery.technet.microsoft.com/office/Set-the-direction-of-the-f17ca66a) -Set-SPOList properties (module) +[Set-SPOList properties (module)](https://gallery.technet.microsoft.com/office/Set-SPOList-properties-9d16f2ba) -Disable or enable attachments to list items using Powershell +[Disable or enable attachments to list items using Powershell](https://gallery.technet.microsoft.com/scriptcenter/Disable-or-enable-12cf3795) -Change search setting for all lists in a site using CSOM and Powershell +[Change search setting for all lists in a site using CSOM and Powershell](https://gallery.technet.microsoft.com/scriptcenter/Change-search-setting-for-8e842a48)