Master Powershell Tricks: Volume 2

Master Powershell Tricks: Volume 2
Tags: Ed Wilson

North American MVPDays Community Roadshow The purpose of this book is to showcase the amazing expertise of our guest speakers at the North American MVPDays Community Roadshow. They have so much passion, expertise, and expert knowledge that it only seemed fitting to write it down in a book. MVPDays was founded by Cristal and Dave Kawula back in 2013. It started as a simple idea; “There’s got to be a good way for Microsoft MVPs to reach the IT community and share their vast knowledge and experience in a fun and engaging way” I mean, what is the point in recognizing these bright and inspiring individuals, and not leveraging them to inspire the community that they are a part of. We often get asked the question “Who should attend MVPDays”? Anyone that has an interest in technology, is eager to learn, and wants to meet other like-minded individuals. This Roadshow is not just for Microsoft MVP’s it is for anyone in the IT Community. Make sure you check out the MVPDays website at: www.mvpdays.com. You never know maybe the roadshow will be coming to a city near you. The goal of this particular book is to give you some amazing Master PowerShell tips from the experts you come to see in person at the MVPDays Roadshow. Each chapter is broken down into a unique tip and we really hope you find some immense value in what we have written. Structure of the Book Chapter 1 in this chapter Thomas Rayner shows use Regex to a values between quotation marks. Chapter 2 Thomas Rayner shows how to send an Email whenever a file gets changed. Chapter 3 Thomas Rayner demonstrates add groups to accept messages only from distribution list members. Chapters 4 in this chapter Allan Rafuse shows us how to install and find PowerShell modules. Chapter 5 Allan Rafuse will show you how to use PowerShell to validate parameters. Chapter 6 Allan Rafuse demonstrates how to prepare a SQL Server installation using PowerShell Chapter 7 in this chapter Dave Kawula shows how to provision Gold VHDx images using PowerShell from an ISO Chapter 8 Will Anderson uses Try-Catch to help make decisions inside of a PowerShell script Chapter 9 Will Anderson shows a cool PowerShell technique to remotely invoke the SCCM Client using PowerShell Chapter 10 Ed Wilson and Will Anderson show us how to use PowerShell to parse RSS Feeds Chapter 11 Will Anderson shows us how to alter the Public IP Address of an Azure Virtual Machine using PowerShell Chapter 12 In this quick master tip Will Anderson show us how to get the Public IP Address of an Azure Virtual Machine using PowerShell Chapter 13 Will Anderson takes us for a lap around PowerShell Desired State Configuration (DSC) Chapter 14 Will Anderson shows us how to configure resources with PowerShell Desired State Configuration (DSC) Chapter 15 in this chapter Mick Pletcher shows how to configure SCCM Endpoint full System Scans upon infection with Email Alerting Chapter 16 Mick Pletcher shows how to for mandatory reboots using SCCM and PowerShell Chapter 17 Mick Pletcher shows how to install Windows Features with validation with his custom script Chapter 18 Thomas Rayner is back to show you how to easily restore a deleted Active Directory user with PowerShell Chapter 19 Thomas Rayner shows how to report on Large Exchange mailbox folders with PowerShell Chapter 20 Thomas Rayner walks you through a trick to report on the largest Exchange mailboxes using PowerShell. Chapter 21 Thomas Rayner introduces you to Just Enough Administration (JEA) Chapter 22 Thomas Rayner helps us figure out if a string starts or ends with a certain character Chapter 23 in this chapter Thomas helps us list all of the fonts in a word document using PowerShell Chapter 24 Sean Kearney shows how to find PowerShell scripts inside of the Windows GUI Chapter 25 Sean Kearney demonstrates how we can use PowerShell as an Administrative Console Chapter 26 Sean Kearney shows how to erase files based on date using PowerShell