ICYMI: PowerShell Week of 8-November-2019
Topics include speeding up the pipeline, while/until loops, why you shouldn’t use += and more!
Special thanks to Robin Dadswell, Prasoon Karunan V, and Kevin Laux.
Speeding Up the Pipeline - powershell.one
by Tobias Weltner on the 3rd November
The PowerShell Pipeline is robust but tends to be slow. With a couple of tricks you can speed it up tremendously and make it as fast as classic foreach loops.
PowerShell: Do-While vs. Do-Until vs. While
by Patrick Gruenauer on the 4th November
Understanding the differences between a do-while, do-until and while loop could be confusing. Is it the same? Why are there multiple techniques? In this blog post you will learn the differences.
PowerShell’s plus equals (+=), the array serial killer
by Anthony Howell on the 4th November
“I did a livestream recently where I created a function to parse an HTML table and convert it to a PowerShell object. If you followed along, you probably noticed that I used a += with no shame whatsoever. Luckily, @PrzemyslawKlys caught it and asked that I fix it (you can see the commit history here, the actual request was a Twitter DM). This was a great reminder to me that += should be avoided!”
Ansible, Windows and PowerShell: the Basics – Part 7, Utilising PowerShell DSC
by Jonathan Medd on 5th November
In Part 7 of this series we’ll continue our journey with Ansible, Windows and PowerShell and look at how utilise PowerShell DSC. If you or your team already own some automation created using PowerShell DSC then it is possible to re-use that via an Ansible Playbook. Or maybe you think that you or they would prefer to create configuration automation going forward using a perhaps more familiar PowerShell DSC, then this could be a solution for you.
Creating a PowerShell Backup System
by Jeff Hicks on the 7th November
The start of a series of articles demonstrating how Jeff built a PowerShell-based backup system for critical files employing the System.IO.FileSystemWatcher.
New PowerShell module for managing Azure Functions
Youtube: Send Email with SendGrid and PowerShell
In this video, I set up a free SendGrid account in Azure and send email with the Rest API and PowerShell. I walk through the reusable function that builds the header and body of the message. This function is helpful for anyone who needs to send email from a PowerShell script that doesn’t have access to an SMTP relay or are behind a firewall that blocks outbound SMTP traffic.
Related Articles
ICYMI: PowerShell Week of 08-October-2021
Topics include VMWare, Windows 11, Web Reports and more… Special thanks to Robin Dadswell, Prasoon Karunan V, Kiran Patnayakuni and Kevin Laux How to gather your vCenter inventory data with this VMware PowerShell script by Scott Matteson on 7th October Inventory reports are a common request when administering a VMware vCenter environment. Learn how this VMware PowerShell script can make such requests quick and easy Building a Web Report in PowerShell, use the -Force Luke by Chris Noring on 8th October
ICYMI: PowerShell Week of 18-June-2021
Topics include Password Auditing, PowerShell 7.2, WiFi Password Recovery and more…
ICYMI: PowerShell Week of 11-June-2021
Topics include BluebirdPS, Scripting Challenge, Wifi and WMI