News

Basic PowerShell functions. Basic PowerShell functions are straightforward and lack advanced features. They are declared using the function keyword, followed by a set of curly braces: function ...
I read through the information on your link about WSF, but I'm still not clear on how the call would look. Say a Function is on a WSF at a location named C:/Example1 and the script you want to run ...
This is because these functions are not loaded in the same session scope as my DoStuff.ps1 script. Let's remedy that. To make these functions available in the same scope as my calling script, I can ...
Most eager PowerShell users over-build their functions or scripts to do too many things. You'd get more reuse from old code if your code was more granularly and tightly scoped. Find out more about ...
In Part 1 of this series, I showed you an example of PowerShell's native validation capabilities.. In that installment, I wrote a function that accepted a text string as input. The function then ...
PowerShell can save you a lot of time on Windows admin tasks, but to use it effectively you need to understand how it works. Here's a crash course in Windows PowerShell scripting basics to get you ...
He is a contributing author in PowerShell Deep Dives with chapters about WSUS and TCP communication. He is a moderator on the Hey, Scripting Guy! forum, and he has been a judge for the Scripting Games ...
What started out as a personal project to fine-tune new Windows 10 has blossomed into a full GitHub project supporting versions 1809 and up. It lets you uninstall OneDrive the correct way, and more.