Pimp your PnP PowerShell

Sometimes you would like to have a bit more context when it comes to what and where you are using PnP PowerShell. Well, actually you can, and it's not even that complex. Have a look at the following screenshot: Notice the prompt: [/sites/demo1] C:\repos\pnp-powershell [dev ≡]> The first part of the prompt shows up when you are connected to a site. It will show the path of the site collection you connected to. The second part shows the current path you are in on your local computer. The third and last part shows which Git branch you...

For me it all started with...

For me it all started with this one: Commodore PET 2001 Series ...standing in the corner of the mathematics classroom. I was 13 and we're talking the early 80's of the previous century. Yes, quite a while ago. I spent hours and hours after school sitting in that classroom with a friend. Loading programs that were supplied on the tapes and trying to figure out what this things called 'BASIC' is. We build small programs: 10 print "Erwin" 20 goto 10 Those programs grew a bit, but never that much. I mean, there was a whopping 3.5...

Composing the ultimate Pull Request for PnP

You found an issue in one of the PnP Open Source libraries and you decided to spend some time fixing it. Great! We love your input! However, we maintain the code base in our free time. Result: there will be a delay before we can look at your submission. To give you an idea, this is the work we do to get your code in to the library, as an example I will take the PnP Sites Core repository: You write updates, your create a PR We see that PR coming in. Notice that we get automatically notified of this....

Setting up your Office 365 CDN with PnP Provisioning or PnP PowerShell

The upcoming build of the PnP Provisioning Engine now allows you to configure your tenant CDN settings through a template. In this short post I show you how to configure your CDN with both the PnP Provisioning Engine and PnP PowerShell PnP Provisioning While the current schema (2018-01) already supports these elements, the actual engine does not implement them yet. We will release this functionality in the April 2018 (2.25.1804.0) release. Take the following snippet: <pnp:Tenant> <pnp:ContentDeliveryNetwork> <pnp:Public Enabled="true"> <pnp:Origins> <pnp:...

Running the various versions of PnP PowerShell side-by-side

You might be aware of the fact that we currently release 3 versions of PnP PowerShell: SharePoint PnP PowerShell 2013 SharePoint PnP PowerShell 2016 SharePoint PnP PowerShell Online Now what if you want all these versions installed, because you maybe target different versions of SharePoint? Why 3 versions? Let me first explain why we have 3 versions. It has to do with the underlying libraries we are using. PnP PowerShell makes use of the PnP Core Library. And that library is in its turn using the SharePoint Client-Side Object Model Libraries (CSOM). And those libraries come specifically for each version...