Category: PowerShell

Photo by Brett Jordan on Unsplash

When creating new pages with News Post often we don’t know exactly the images. Same happen with some document that you may want your company to have access on when creating the new pages. So a couple of days I cross with the feature on SharePoint Online that allows you to create these
Organization Assets. To enable this, it’s needed to run a couple of cmdlets.

Sometimes when building some internal processes to organizations, it’s possible that it is required to create a SharePoint list. However, sometimes it can create confusion for the end-user that sees the list there. So we can hide that list from the SharePoint site to avoid this. Everything will work as normal on the list and it’ll be accessible via URL. This scenario can be used as well when you’re building a new list using List Formatting and you don’t want the list to be available just yet. This is possible to be done in a SharePoint with a few steps. We’ll use the PNP Powershell and Office 365 CLI to demonstrate.

When creating a new page a header with the title of the page will be shown to the user. In the current days, it’s not possible to remove that header from the page using the SharePoint interface. Today, we will share a PowerShell that allows you to remove that area from the page and some article that you can use with different options.

Recently I have seen on the community that when you add a column with the internal name of Thumbnail, SharePoint automatically generates a preview of the document. In the post below, we’ll add this column to multiple SharePoint sites that have the list or library that you intend to have the preview of the document. This feature has been requested on the SharePoint User Voice.

Today, we will review and use a List formatting, one of the features that SharePoint and apply it via PnP PowerShell. You can use it to apply to multiple sites with this automated process. The concept of this sample is that you have a Team inside your organization and you want to share the contacts of the persons on your SharePoint using a list. The PowerShell created will allow you to create all the required assets for using this sample.

With the script that we’re showing, you can reset the masterpage on a SharePoint site and get back to the default masterpage (Seattle). This command can be used by any SharePoint version, a few notes that I want the user to be aware before running this script.

With the next PnP PowerShell script, you will be able to Enable the SharePoint Server Publishing Infrastructure on your SharePoint site to have access to some features that you may need. This process will change your SharePoint site structure so please be aware of that when executing this script. This script is valid for SharePoint Online and SharePoint 2019.

When you decide to install SharePoint Frameworks solutions probably you install multiple solutions on the site to test which work on your SharePoint. That process can consume some time of your daily work and the with PnP PowerShell you will have a way to deploy each solution faster and cleaner.

After reviewing the amazing article of Emanuele Bartolesi about customizing the new terminal for Windows which looks amazing and then I asked myself – how about configuring it with the logo of the PnP or the famous mascot of Parker? Let’s make it so I’ve built a customized terminal with the PNP media logos. I’ve added it to the GIT so everyone can copy this configuration or improve it.