#7. PnP Powershell cmdlets with SharePoint Online

Introduction


In this article you will learn via demo application, 

1. Get List using PnP Powershell Modular approach.
2. Get Content Type using PnP Powershell Modular approach.
3. Associate Content Type with List using PnP Powershell Modular approach.
4. Remove Content Type from List using PnP Powershell Modular apporach5. Create and Use a Bat and CSV file as input.

GitHub Link :- https://github.com/manoj1201/PnPUsingSPO/tree/master/ContentTypeToList

SharePoint Patterns and Practice (PnP) contains a library of PowerShell Cmdlets which allowed to perform operation towards SharePoint. These Cmdlets use CSOM and works for both SharePoint Online and On Premises.


#6. PnP Powershell cmdlets with SharePoint Online

Introduction


In this article you will learn via demo application, 

1. Create List using PnP Powershell Modular approach.
2. Get List using PnP Powershell Modular approach.
3. Remove List using PnP Powershell Modular approach.
4. Create and Use a Bat and CSV file as input.

GitHub Link :- https://github.com/manoj1201/PnPUsingSPO/tree/master/CreateList


SharePoint Patterns and Practice (PnP) contains a library of PowerShell Cmdlets which allowed to perform operation towards SharePoint. These Cmdlets use CSOM and works for both SharePoint Online and On Premises.


#5. PnP Powershell cmdlets with SharePoint Online

Introduction


In this article you will learn via demo application, 

1. Get Fields using PnP Powershell Modular approach.
2. Get Content Type using PnP Powershell Modular approach.
3. Associate Fileds with Content Type using PnP Powershell Modular approach.
4. Create and Use a Bat and CSV file as input.

GitHub Link :- https://github.com/manoj1201/PnPUsingSPO/tree/master/SiteColumnToContentType

SharePoint Patterns and Practice (PnP) contains a library of PowerShell Cmdlets which allowed to perform operation towards SharePoint. These Cmdlets use CSOM and works for both SharePoint Online and On Premises.


Previous Articles:-

 




#4. PnP Powershell cmdlets with SharePoint Online

Introduction


In this article you will learn via demo application, 

1. Get Content Type using PnP Powershell Modular approach.
2. Add Content Type using PnP Powershell Modular approach.
3. Remove Content Type using PnP Powershell Modular approach.
4. Create and Use a Bat and CSV file as input.

GitHub Link :- https://github.com/manoj1201/PnPUsingSPO/tree/master/ContentType

SharePoint Patterns and Practice (PnP) contains a library of PowerShell Cmdlets which allowed to perform operation towards SharePoint. These Cmdlets use CSOM and works for both SharePoint Online and On Premises. 


Previous Articles:-

 



#3. PnP Powershell cmdlets with SharePoint Online

Introduction


In this article you will learn via demo application, 

1. Create a Site Column using PnP Powershell Modular approach.
2. Delete a Delete Site Column using PnP Powershell Modular approach.
3. Create and Use a Bat and CSV file as input.

GitHub Link :- https://github.com/manoj1201/PnPUsingSPO/tree/master/SiteColumn
SharePoint Patterns and Practice (PnP) contains a library of PowerShell Cmdlets which allowed to perform operation towards SharePoint. These Cmdlets use CSOM and works for both SharePoint Online and On Premises. 

#2. PnP Powershell cmdlets with SharePoint Online

Introduction

In this article you will learn via demo application, 

1. Create a subsite using PnP Powershell Modular approach.
2. Delete a subsite using PnP Powershell Modular approach.
3. Create and Use a Bat and CSV file as input.


SharePoint Patterns and Practice (PnP) contains a library of PowerShell Cmdlets which allowed to perform operation towards SharePoint. These Cmdlets use CSOM and works for both SharePoint Online and On Premises.



Previous article Link can be found here:- http://manojmittalblogs.blogspot.com/2018/10/1-pnp-powershell-cmdlets-with.html

Stay tune...

#1. PnP Powershell cmdlets with SharePoint Online

Introduction

In this article you will learn via demo application, How to install PnP Powershell and  get start with basic operations.

SharePoint Patterns and Practice (PnP) contains a library of PowerShell Cmdlets which allowed to perform operation towards SharePoint. These Cmdlets use CSOM and works for both SharePoint Online and On Premises.



Stay tuned with series of videos.

I’ll be talking on SharePoint Saturday Bangalore



Hello Folks,


We’re all set for SPS (SharePoint Saturday) Bangalore on Sep 1st 2018 at Microsoft’s new Office in Bangalore where I would be taking on How to build intelligent Azure Bot using Cognitive Services i.e. LUIS and QnA Maker with SharePoint Online . If you’re interested in attending this event , please use the link below to enroll yourself . We have many great sessions lined up for you on SharePoint and Office 365 .
See you all on Sep 1st ….
Happy Coding

Turn OOTB Comment Section From SharePoint Online Modern Page On or Off

The comments section is an important part of any webpage. It appears in all the modern pages by default. However, we can easily turn this feature on or off using the below simple steps.
Step1
Edit the page.

Step 2
The page owner can see the "Turn on or off" option parallel to the comment section.
Step 3
Select the Turn Off toggle.

Step 4
Publish the page and you will not see any comment section.


Happy Coding.

Remove Header Image Banner From SharePoint Modern Pages

SharePoint Online Modern pages have header image banners in all modern pages;  i.e., Communication or Team Sites. Header image banner needs a background image or text, it takes almost 40% of the page, and we can’t remove this section using User Interface.






If you want to turn this section ON or OFF, it is possible using PnP PowerShell command. Basically, it allows us to change the page layout from Article to Home. The homepage layout doesn’t have a header image banner section.
Remove the Header Image Banner Section
Open SharePoint Online Management Shell and run the below command in sequence.
  1. # Connect to the site  
  2. Connect-PnPOnline https://mittal1201.sharepoint.com/sites/teamsite  
  3. # List all pages, and find the id of the modern page  
  4. Get-PnPListItem -List SitePages  
  5. # Change layout from "Article" to "Home" to remove top banner  
  6. Set-PnPListItem -List SitePages –Identity <id> -Values @{"PageLayoutType"="Home"

Screenshot for your reference.


After executing this command, refresh the page. You will not find the header image banner.


Happy Coding.