Technical Architect with Knowledge Factory. PowerShell Hero and Microsoft MVP. The opinions on this blog are my own. This blog is intended to be a place where I can share my notes and experiences and I hope that some one else will have good use for it.
I have a public codesigning certificate issued by DigiCert. I want to be able to sign my PowerShell scripts anywhere, for example when I’m at a customer, but it’s a hassle having to move the code to where I have my code signing certificate just to sign it. I’ve been experimenting with build jobs in […]
As I wrote in my previous post Using a Yubikey for PowerShell CodeSigning I’m using a Yubikey to store my code signing certificate. This way I can easily carry my cert with me, use it on different computers and not have to worry about losing my private key. In this post, I’m describing how I […]
I use git as version control, it is great! But I use different email addresses in different situations and sometimes I get it wrong. Not a terrible problem but quite an annoyance. Let me show you an example: I recently contributed to the PowerShell repository (you can see my pull request here: https://github.com/PowerShell/PowerShell/pull/6464) and I […]
Continuously building and deploying new versions of my modules to internal repositories (or PowerShell Gallery) is something I really like. That way I can just push my code and let the automation handle the rest. Here are some learnings I’ve made. Deploy on tag Firstly, I usually only trigger a deploy-workflow on tags, this way […]
Ever tried to modify permissions to a SharePoint site with a huge number of files in it? You might experience something like this: Managing permissions to a site in SharePoint Online is of course doable with PowerShell! I thought I’d quickly go through the basics. Prereqs First of all we need to download the SharePoint […]
I’m an Ops guy, I have a history of working in IT operations and I think of myself as a “technician” or “ITPro”. To be honest, I don’t know what to call it, but my point is that I do not have a background as programmer. I’ve been talking with other Ops-persons about integrating and […]
First in line Last Wednesday, I attended the Microsoft Lumia release event in Stockholm Sweden. I showed up roughly an hour before the event opened and happen to arrive at the exact same time as the first Lumia fans. Except for some light rain, we had a great time sharing experiences on using Windows Phone […]
On Knowledge Factory, the company I work for, every one get’s their own lab-server. Nothing fancy, but it helps a lot when I want to test something in a controlled environment. I’ve been playing around a bit with desired state configuration on my lab server lately. And especially with the great module VirtualEngineLab which I’ve […]
When searching for users in Active Directory using PowerShell, the ActiveDirectory module is often one of the first things that comes in to mind. The module has been around for quite som time now but there is one problem that many users still stumbles on, the Filter parameter. There are basically three methods for searching […]
A PowerShell function can have different parameters depending on how it is called. This is called Parameter Sets. For example, Get-Process has a non mandatory parameter called Name which specifies which processes to Get by Name. But is also has a parameter called ID which also specifies which processes to get, this time by ID. […]
Read Full Article
Read for later
Articles marked as Favorite are saved for later viewing.
Scroll to Top
Separate tags by commas
To access this feature, please upgrade your account.