High priority SCCM applications

This post is about getting all high priority SCCM applications using PowerShell. Today I had to check our server how many applications are set to High (Distribution Priority). The customer has a total of 40 distribution points (pull and push) all over the world and configured sophisticated BITS rules and schedules. Therefore, ConfigMgr only replicates … Read more High priority SCCM applications

Open elevated command window without runas.exe

This post is about how to open up an elevated command window using your admin account if your security team blocked runas.exe. I’m using this to have one starting point running with my admin credentials, which allows me to run all my admin tools like the SCCM Console, TS Monitor, Active Directory, SQL Management Studio … Read more Open elevated command window without runas.exe

Comparing version numbers – Part II

Today I’d like to share a function for comparing semantic version numbers in PowerShell. To recap: Software developers should use a logical versioning style to better manage dependencies and to just make their releases and cycles well understandable. There is some kind of a specification out there. I’m not sure how “official” this is but … Read more Comparing version numbers – Part II

Comparing version numbers

If you’re using PowerShell, you most probably came across the following issue: Comparing version numbers just doesn’t work if they are stored in strings. The simple case Example: $a = “1.1.19” $b = “1.1.2” if ($a -gt $b) { Write-Host “$a is greater than $b” } else { Write-Host “$a is less than $b” } … Read more Comparing version numbers

Manage your smart-me.com plugs via PowerShell

This post is about using the smart-me REST API in PowerShell. For more than a year I’m using smartmeters from smart-me. Unfortunately they are not compatible with Apple HomeKit or Google Home. But they provide a nice REST API. So let’s check out what we can do using their API. Here’s the vendor’s documentation: https://smart-me.com/swagger … Read more Manage your smart-me.com plugs via PowerShell