Copilot help - Update PnP Powershell

Copilot help - Update PnP Powershell

How to update PnP PowerShell with Copilot’s help

Yes, I’m lazy and I’m not using PowerShell every single day. Today I needed to update my PnP PowerShell module, and I thought I’d use Copilot to help me with that. Here’s how it went:

Let’s start with the initial prompt: Initial prompt

Ok. That worked fine, but of course there is something else. I don’t know how, but I always end up having multiple versions of the PnP PowerShell module installed. So I asked Copilot to help me with that as well:

Multiple versions

Well, that is not what I wanted. If we follow this path, we would end up with having not a single version of the PnP PowerShell module installed. Yes, we could do that and then install the latest version, but that’s not what I want. I want to keep the latest version and remove all the others. So I asked Copilot to help me with that as well:

Remove all but the latest version

That’s better. Now I can remove all the other versions and keep the latest one. Thanks, Copilot!

Is this a revolution in our work? No, it’s not. But it’s a nice way to get some help and it shows the difference between getting things done with Copilot or AI in general compared to what we all used to do: google it, read some blog posts, try some things out, and then maybe get it done.