Business.com on MSN

Understanding functions in PowerShell

Don’t copy and paste the same code over and over again. Instead, create a PowerShell function and save yourself time.
In my previous post, I showed you how to create a clickable button in Excel. That button displayed a simple message box. Now, I want to show you how to use the button to kick off a PowerShell script.
Over the last few years, I have created a vast library of PowerShell scripts that I use to keep my servers healthy. These scripts do everything from monitoring disk health to helping me to reclaim ...