News

Posey's Tips & Tricks. How To Validate Input in PowerShell Functions, Part 1. If your automated script takes action based on a value, it's critical to make sure the value is correct.
The functions we are using here are called "basic" PowerShell functions. If you haven't already built advanced PowerShell functions yet, I encourage you to learn as they include much more ...
You can then invoke this function using the following: PS > Do-Something. I did something! As you can see, the code runs inside the function when invoked. Adding parameters. By incorporating ...
Posey's Tips & Tricks. How To Use .CSV Files with PowerShell, Part 2. In the second part of this series, Brien shows how to import a .CSV file into a PowerShell array, including two methods for ...
1) An introduction to PowerShell modules: Modules contain scripts, functions, and cmdlets designed to add extra capabilities while streamlining task automation.
One of the features I like about PowerShell is automatic variables. Automatic variables save you time and provide a more consistent approach at figuring out what's going on under the hood of your ...
Below, find out how to sync your WSUS server with Microsoft update, how to query all the computers your WSUS server is managing and how to use PowerShell commands in WSUS. 1. Sync your WSUS server ...