PowerShell Scripting And Open Management Infrastructure (OMI)
As an IT professional or manager, when you think of the word "script," what comes to mind? Are images of VBScript and batch files still haunting you to this day? Are you just thinking about a nice, little piece of code that automates some mundane task? If so, let's get you introduced to a Windows PowerShell script.
Monitor any Folder for Files and Take Action
I routinely need to monitor a certain folder for files on a server. It's usually some LOB application that places reports into a certain folder that can't be changed in the app but the reports need to actually be in a different folder. After created too many scheduled tasks over the years and being forced to only check every minute I decided to learn about creating WMI event subscriptions more specifically permanent WMI event subscriptions.
How to Query WMI from Linux and Python
I've recently been playing with Ansible quite a bit and, unfortunately, it's only available on Linux. Being a big Windows guy, I've had to learn a ton about how Linux and Python interact with Windows. My goal was to get my Ubuntu Linux box to simply be able to query a Windows box. Let's break it down!