I use Windows Terminal to run scripts, connect to SSH hosts, or start a WSL Ubuntu session. You can customize Windows Terminal in many ways, and in this blog post, I will show you how to change the background in your Profiles to a fixed or randomly selected one.
Remote Visual Studio Code PowerShell development on a Windows Sandbox instance
You can develop PowerShell scripts on your workstation and run and test them there too... But sometimes... That's not what you want. You could break your workstation with PowerShell code, and your workstation is not clean with all features installed, or settings enabled that your target systems don't. And that's where Visual Studio Code and its Remote SSH extension come into play. This blog post will show you how to combine that with a Windows Sandbox instance.
Experts Live Netherlands 2023
This week the annual Dutch Experts Live meeting was there again in Den Bosch, I was there together with some of my colleagues from NEXXT, and this is my impression of the event 🙂
Editing PowerShell scripts in Azure Cloud Shell
Executing PowerShell scripts in Azure Cloud Shell is easy and fast, but how do you edit them before running? I will show you three ways to do that in this blog post.
Using PowerShell Direct for Hyper-V VMs
I have multiple Hyper-V Vms on my laptop for testing purposes. Sometimes, you need to update those or check things, and you can do this using PowerShell Direct. In this blog post, I will show you how to use PowerShell Direct with a few examples.
Intune Proactive Remediation for “Microsoft Windows Unquoted Service Path” / CVE-2013-1609, CVE-2014-0759, CVE-2014-5455
Microsoft Defender has security recommendations for the "Fix unquoted service path for Windows services.” (CVE-2013-1609, CVE-2014-0759, CVE-2014-5455) These might be reported for things like Dell services, and you can fix them manually by editing the Registry on the affected device. But... There is an easier way 🙂 This blog post will show you how to create a Proactive Remediation in Intune for it.
Configuring NTFS permissions using PowerShell
Configuring NTFS permissions is something that you can do using your Windows Explorer, Server Manager, or by using command-line tools like subinacl.exe or icacls.exe. In this blog post, I will show you how to set NTFS permissions in two different ways using PowerShell 🙂
Microsoft Defender SmartScreen issues (Fixed)
Currently, my blog site is blocked by SmartScreen... Again 🙁 Because it's a SmartScreen issue, the site still works in Chrome, Firefox, and other browsers. I created a support ticket for it again, asking for an explanation and awaiting a response. If you could also report it as safe, that might speed up things! Hopefully, they can tell me what and why. I post blogs with script examples with no malicious code in them...
Using the #Requires statement in PowerShell
Sometimes you have scripts that require specific versions of modules, or if the script is started with Administrator privileges, you can add checks for that in the script itself or... You can use the built-in #Requires statement for that. In this blog post, I will show you how.
Custom Compliance PowerShell script for detecting additional local Administrators
One of our customers wanted to be sure that there were no additional accounts in the local Administrators group on their Intune devices, and... That's where Custom Compliance policies come in 🙂 In this blog post, I will show you how to automatically check the Administrators group and mark the device as non-compliant if needed.