Tag: WMI

Using WMI in PowerShell

Learn WMI's vast array of information, and learn Powershell WMI to automate thousands of tasks on Windows computers.

Adam Bertram Avatar Adam Bertram

3 min. read

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.

Adam Bertram Avatar Adam Bertram

3 min. read

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.

Adam Bertram Avatar Adam Bertram

< 1 min. read

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!

Adam Bertram Avatar Adam Bertram

2 min. read

Get-WmiObject: Querying WMI on Local and Remote Computers

Whenever we need to discover just about any information about a Windows computer and it's components, we can do so with Get-WmiObject.

Adam Bertram Avatar Adam Bertram

3 min. read

Subscribe to Adam the Automator

Get the latest posts delivered right to your inbox