-
Continue reading →: Get-UninstallKey – Retrieve Uninstall Information from Registry
Introduction Last week, I wrote a script to remediate End-of-Life (EOL) .NET Core installations. The script included the first version of Get-UninstallKey, which worked but was a bit quick and dirty—it could get messy, especially when dealing with multiple versions or similarly named applications. To address these issues, I created…
-
Continue reading →: Remediating EoL .NET Core with PowerShell: A Practical Guide.
Introduction: During a recent vulnerability scan, I discovered a staggering 900+ instances of End-of-Life (EoL) .NET Core versions across our environment. These outdated versions are no longer supported by Microsoft, meaning they do not receive security patches, bug fixes, or technical support. For any IT professional, this is a critical…
-
Continue reading →: Automating SCCM Content Distribution with PowerShell: A Practical Guide.
Introduction: I recently upgraded my SCCM site server to version 2503. The process completed without errors, but afterward, I noticed the IIS server log files were ballooning to 12–25GB per day, filled with ‘content not found’ errors. Microsoft’s recommended fix? Updating the content for all packages. All of them? Hundreds?…
-
Continue reading →: Managing Legal Notices PowerShell!
Introduction: We all know it, “Users lie and never do as told”, one of my problems during Windows 11 in-place upgrade was to manage user access during system upgrades. One effective way to achieve this is by displaying a legal notice at logon, which informs users that the system is…
-
Continue reading →: No More Hardcoded Secrets!
Introduction: Hey everyone! Let’s be honest, if you’re like me and spend time automating things with PowerShell, you’ve probably run into the problem of passwords, API keys, or other sensitive tidbits that you need to use in your scripts. And the big question is: where do you safely store them? Sticking them…
-
Continue reading →: Streamlining Carbon Black Cloud Policy Management Using PowerShell
Carbon Black Cloud doesn’t give a simple way to export/backup policies, the only way is via the API, So, we’ll dive into a PowerShell function, Get-CBCPolicy, designed to retrieve and manage policies from Carbon Black Cloud. This function provides a versatile tool for administrators to handle policies with ease. API…
-
Continue reading →: Automating Device Actions in Carbon Black Cloud with PowerShell
Introduction The New-CBCDeviceAction function is a comprehensive PowerShell script that enables IT professionals to perform a variety of actions on devices managed by Carbon Black Cloud. These actions include quarantining devices, toggling bypass modes, running background scans, updating policies, and more. The function is designed to be flexible and easy…
-
Continue reading →: Automating DFS Root Backups with PowerShell
Introduction Distributed File System (DFS) is a critical component in many Windows environments, providing a centralized and organized way to manage file shares across multiple servers. Regularly backing up your DFS roots ensures that you can restore them in case of accidental changes or corruption. In this blog post, we…
-
Continue reading →: Automating GPO Backups with PowerShell
Group Policy Objects (GPOs) are essential for managing and configuring settings in a Windows domain environment. Regularly backing up your GPOs is crucial to ensure that you can restore them in case of accidental changes or corruption. In this blog post, we will walk through a PowerShell script that automates…
-
Continue reading →: Automating Event Log Extraction and Compression with PowerShell
Introduction Our event log is configured to its maximum size, yet it still gets overwritten daily. One of my responsibilities is to extract and back up event logs from servers. In this blog post, we’ll guide you through a PowerShell script that automates the process of extracting, clearing, and compressing…








