PowerShell modules allow you to combine multiple scripts to simplify code management. Learn step-by-step instructions for creating and using these modules.
A script is just a collection of commands saved into a text file (using the special .ps1 extension) that PowerShell understands and executes in sequence to perform different actions. In this post, we ...
To avoid errors, it's important to write PowerShell scripts that prevent code from running on an unintended platform. Luckily, this is easier to do than it sounds. Up until a few years ago, PowerShell ...
Windows PowerShell has evolved into a command-line utility essential for system administrators and advanced users. The tool provides an intuitive interface to automate and manage various Windows tasks ...
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 ...
SharePains by Pieter Veenstra via MSN

Migrate SharePoint site designs and scripts to a new tenant

I was asked recently to migrate SharePoint site designs and site scripts to a new tenant. In this post all the steps including exporting the site designs and site scripts before importing them. All ...
If you want to run Windows PowerShell scripts first at user logon, logoff, startup, and shutdown, follow these steps. Using the Local Group Policy Editor and Registry Editor, you can prioritize ...
I use Powershell's "custom-object" command to create custom objects with properties I want to save. But custom-object applies only to one variable. Is it possible to create a custom class, like in ...