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 tune your Guitar with Powershell
I wanted to celebrate my 100th article doing something simple and out of the ordinary. Looking back one popular article using PowerShell written 2 years ago was Text-To-Speach in 3 lines of code, so I’ve decided to play with sounds.
In this article, you will use PowerShell to tune your Guitar! Continue reading “How to tune your Guitar with Powershell”
Using PowerShell to Clean Up Sophos Temp Files
Recently I’ve encountered a strange issue that affected one Windows workstation with Sophos AV (Endpoint) software installed. Sometimes this software creates some temporary files with ‘$$$’ extension and apparently it never removes them.
I thought that the process of analysis and implementing a solution for this edge case was perfect for an article and it is applicable to many similar situations when scripting is required to collect information or mitigate.
Continue reading “Using PowerShell to Clean Up Sophos Temp Files”
Monitoring the Network Load with Powershell
Monitoring is an important activity in IT operations, it’s essential for correlating the state of all the moving parts of our systems and applications and create a big picture of the health of the whole environment. Before going down the rabbit hole of complicated monitoring tools and techniques let’s start with define a that monitoring can be subjective and on a case-by-case can be very basic or detailed and can let you choose a specific tool or strategy. There is no one-size-fits-all. This week I needed to implement a custom check to monitor the network load/usage on any Windows OS and instead of looking for a third-party tool and deploying maybe another agent on servers I wrote a Powershell script to perform this activity.
Continue reading “Monitoring the Network Load with Powershell”