Skip to content

The EmptyGarden

Planting seeds of knowledge so your brain can grow.

  • About
  • Resume
  • Microsoft Badges
  • Microsoft Certification Transcript

Month: December 2017

Posted on December 11, 2017

PowerShell Template–Because we all want some sort of consistency!

Does your company have a lot of PowerShell scripts? Do they all follow the same template? No? You are not alone.

In my experience, troubleshooting scripts is much easier if all the scripts have the same look.

This script not only uses logging for errors, but can also be run in verbose mode so that the errors display in the PS session. Continue reading “PowerShell Template–Because we all want some sort of consistency!”

LinkedIn

Matthew Teegarden

Twitter

Follow @TheEmptyGarden

GitHub

https://github.com/TheEmptyGarden

Certifications

Recent Posts

  • Do you Windows Admin Center? (Formerly Known As ‘Do You Project Honolulu?’)
  • The one ConfigMgr query to rule them all
  • What’s in your lab environment?
  • The very best ConfigMgr database maintenance plan in the entire world*
  • ConfigMgr and SQL AlwaysOn

Archives

  • April 2018
  • March 2018
  • December 2017
  • August 2017
  • June 2017
  • April 2016
  • May 2015
  • February 2015
  • June 2012
  • May 2012
  • April 2012
  • January 2012
  • August 2011
  • July 2011
  • June 2011
  • May 2011
  • April 2011
  • March 2011
  • January 2011
  • August 2010

Categories

  • Uncategorized

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
Proudly powered by WordPress