I think a lot of you use the SysInternals tools on your machine. They are great tools at your disposal and have helped me a lot! You can install it using the Microsoft Store method, it will be updated like that too, but for your management server, it's nice to have an installer that works without the Microsoft Store 🙂 In this blog post, I will show you a way to install or update your SysInternals Suite.
Month: January 2023
Server-Side-Filtering in PowerShell
Retrieving objects in your scripts is something that you do regularly. It takes a long time to download and process in larger environments, wasting CPU and time. This blog post will explain how to speed up scripts by filtering server-side before downloading all results and filtering afterward.
Recreate Desktop and Start Menu shortcuts #ASRmageddon
It's just a beautiful Friday 13th due to a Windows Defender update that removed shortcuts from many machines with Attack Surface Reduction enabled for Macros. (Work-around "Setdefender ASR rule 92e97fa1-2edf-4476-bdd6-9dd0b4dddc7b to audit only unit issue is resolved.") This blog post describes how you can recreate the missing shortcuts and deploy this using Intune or run it manually on the affected system(s).
PowerShell and variables
Every script I write has variables in it, but there are different types of variables. This short blog post will show a few types you can use in your scripts.
Update your software using WinGet and PowerShell
Not all software comes with built-in update support or notifications. And even if it does, it takes time, and it's always a good idea to automate things, of course 🙂 In this blog post, I will show you a short PowerShell function that will update your software if it's WinGet compatible. (More and more software is added to its database every week)