Automation/Scripting


PowerShell Meets Practical AI: Aleksandar Nikolić on Smarter Scripting Workflows

Ahead of his TechMentor session at Microsoft HQ, PowerShell expert Aleksandar Nikolić explains how AI tools like GitHub Copilot can help admins write, refactor, test and document scripts faster -- without replacing hard-earned PowerShell expertise.

Why PowerShell Timers Cause Problems in GUI Environments, Part 2

A practical workaround shows how PowerShell developers can keep Windows Forms GUIs responsive by moving timer-driven processing into background jobs and using a second timer to update the interface only after the work is complete.

Why PowerShell Timers Cause Problems in GUI Environments, Part 1

Brien Posey explains why PowerShell timers can cause Windows Forms dashboards to freeze or fail to update, and why keeping GUI scripts responsive requires a different approach to timed events.

Stop Doing these 5 PowerShell Function Practices!

Here's a look at five common PowerShell function mistakes that can make scripts harder to read, troubleshoot and reuse.

DIY Network Monitoring for Hyper-V, Part 3

A PowerShell-based Hyper-V health check can be automated through Task Scheduler to provide a daily status report while also running hourly in silent mode unless a problem is detected.

Best Practices for PowerShell Script Version Control, Part 2

Here are some practical version-control habits for PowerShell scripts, including separating change types, retaining old versions and embedding version details in script headers or app interfaces.

Best Practices for PowerShell Script Version Control, Part 1

Semantic versioning gives PowerShell script changes clear meaning so you can evolve scripts quickly without letting updates devolve into chaos.

Gold Highway Small Graphic

Challenges With Using RemoteApp to Host Custom Applications Part 2

Running custom PowerShell scripts through RemoteApp can work effectively, but administrators may encounter several practical challenges involving script launching, execution policies, file blocking, and display scaling.

Red Petal Closeup Graphic

Challenges With Using RemoteApp to Host Custom Applications, Part 1

Hosting a custom PowerShell application through RemoteApp can introduce unexpected authentication and database permission challenges -- especially when Windows authentication and SQL Server backups are involved.

Using PowerShell for DIY AI Image Creation, Part 2: Stable Diffusion

In Part 2 of this series, we'll learn how to use PowerShell to call the Stable Diffusion API directly, moving from a simple proof-of-concept script to a GUI-based tool for generating AI images on local hardware.

Using PowerShell for DIY AI Image Creation. Part 1

Build a cloud-free AI image generation workflow by wiring Stable Diffusion into Windows PowerShell, using open source tools and local hardware to create images directly from scripts.

Best Practices for PowerShell Dot Sourcing, Part 2

Let's dive into some practical advice on naming conventions, variable management and code organization to keep dot sourced scripts efficient, consistent and secure.

Best Practices for PowerShell Dot Sourcing, Part 1

Dot sourcing can simplify large PowerShell scripts -- but without a clear structure, it can quickly lead to chaos.

PowerShell-Based SQL Server Backups Revisited, Part 2

Let's follow up the last column with a step-by-step breakdown shows how the PowerShell script automates SQL Server backups, manages retention, logs activity and verifies data integrity.

PowerShell Based SQL Server Backups Revisited, Part 1

Let's refine some of my earlier work to make things more efficient.

Subscribe on YouTube