03/13/2023

Automate Cursor Movement on Windows with PowerShell

In this technical blog post, we explore how to automate cursor movement on a Windows screen using PowerShell. With our step-by-step guide, you can learn how to import the necessary libraries and define a C# class and method to easily move the cursor on the screen within your PowerShell script. By the end of this post, you'll have a better understanding of how to automate cursor movement in PowerShell, and how to use PowerShell to streamline various repetitive tasks.
06/24/2020

PowerShell System Tray Tool

We need to add "function", I use the term loosely as I am not building a PowerShell Function, I am building functionality for when the Exit button is clicked. To do this I open a new PowerShell window, and then hide the icon, close the window, and kill the process. I open a new PowerShell console on close as preference, I am probably going to need another console window shortly after closing this window.