I’ve recently accepted a new role and joined a new company this week. During the first day, I’ve followed my usual practice of using chocolatey to install most of the developer’s tools I will use, installed WSL2, and I’ve created a full backup of the laptop. Continue reading “How to Export Third-Party Drivers with PowerShell”
How to run on-demand AV scanning on a file with MS Defender using Powershell
Last month I’ve published an article on MS Defender and Nagios, on a similar topic this week I used the MS Defender Powershell module and wrote a helper function to scan on-demand a file using mpcmd.exe. Continue reading “How to run on-demand AV scanning on a file with MS Defender using Powershell”
How to upload files to Azure Blob Storage using Powershell via the REST API
When I need to upload files on Azure Blog Storage the tools that I generally use are Storage Explorer (installed on my workstation or the web version included in the portal) or AzCopy, but within a script, I would prefer using Azure RestAPI.
Before writing this article I searched similar blogs around this topic, the most interesting one was written by Roger Zander’s blog, the only difference is that I’ve defined a function and validated the parameters, using splatting it is a bit more elegant to read in my opinion. Continue reading “How to upload files to Azure Blob Storage using Powershell via the REST API”
Microsoft Defender PowerShell module and Nagios
Microsoft Defender antivirus is included in every Windows OS and there are many components and options available to manage, protect and monitor endpoints.
I was not surprised a few months ago when I needed to implement a monitoring check for Nagios that there was a dedicated PowerShell module that did exactly what I needed. Continue reading “Microsoft Defender PowerShell module and Nagios”