Using the Measure-Command Cmdlet

Here is an example of using Measure-Command to gather the execution time for loading the SQL Error log into a Out-GridView object:

Sapien PowerShell Studio 2014 Notes

Changing the new script header template The path to the new script template is located on this path in Windows:

Change, or…

Getting ENV: Environment Values

We can get the values of a ENV environment setting this way. Follow the PowerShell commands in the window below: Here is a…

Using -split with PowerShell

This little -parameter is useful when you have PowerShell output that is delimited with a character. Below is an example using the Env…

PowerShell 3.0 Notes

We will post all miscellaneous PowerShell scripts, notes, tips and help on this page. For notes from specific books, please look at the…