ICYMI: PowerShell Week of 29-March-2019
Topics include an update to PSScriptAnalyzer, Pester, and customizing SharePoint menus.
Content curated by Robin Dadswell and Mark Roloff.
PowerShell ScriptAnalyzer Version 1.18.0 Released
by Jim Truher on March 22nd
A new ScriptAnalyzer is out. Faster, better DSC support, and better handling of multi-line pipelines. Pick it up from the PSGallery!
Pee-Object
by Danny Meister on March 26th
Ever have a need to print some progress or the current object to the console in the middle of your pipeline? Well, now there’s a function for that.
Programmatically change the New Menu in SharePoint Online using PowerShell
by Paul Matthews on March 24th
Customizing document library menus in SharePoint gets a fun facelift with Paul’s scripted method.
F7 is the greatest PowerShell hotkey that no one uses any more. We must fix this
by Scott Hanselman on March 26th
Scott discusses the absence of this little gem of a feature and a small workaround for using it. There’re some nice tips in the comments too.
Enforcing Code Style using Pester
by Chris Gardner on March 26th
If validating code style is something you need, Chris has an interesting approach to it via unit tests.
General Availability of PowerShell Core 6.2
by Steve Lee on March 28th
Has it really been 6 months already? A large number of changes have been packed into this release, so check out the changelog for a little lite reading.
Youtube: Pester with Kevin Marquette - March 28, 2019
From the Austin PSUG, Kevin leads a demonstration on using Pester to unit test your scripts.
Related Articles
PowerShell Escape Room
PowerShell Escape Room by Michiel Hamers
by Michiel Hamers
https://about.me/michielhamers/
Why on earth you want to create an Escape Room with PowerShell as backend?
I’ve always been a fan of escape rooms, so I decided to create my own for my kids. I wanted to make it something that would be challenging and fun for them, but also educational. I decided to use PowerShell as the backend for the escape room, as I’m a PowerShell developer and I thought it would be a great way to learn more about the language.
The first step was to design the rooms. I wanted to make sure that there were a variety of puzzles and challenges that my kids would have to solve. I also wanted to make sure that the rooms were visually appealing and engaging. Once I had the rooms designed, I started building them.
I used a variety of materials to build the rooms, including wood, cardboard, and fabric. I also used a few electronic components, such as a USB extension cable with a switch and a 3-button keyboard. The USB extension cable with a switch was used to create a physical button that my kids could press to solve one of the puzzles. The 3-button keyboard was used to enter the code that my kids had to find to solve another puzzle.
I also used a few websites to create rebus puzzles that my kids had to solve. I printed out the rebus puzzles and placed them around the rooms. Once my kids had solved all of the puzzles, they were able to enter the code on a single screen to escape the room.
In this blog post, we’ll delve into the process of creating an engaging PowerShell escape room for the global PowerShell community. We’ll emphasize the significance of storytelling and provide a detailed breakdown of the PowerShell structure used for the escape room.
Microsoft Graph PowerShell Module: Getting Started Guide
Microsoft Graph PowerShell Module: Getting Started Guide
by Jeff Brown
Microsoft is retiring the Azure AD Graph API sometime after June 30, 2023 (announcement). This retirement includes the Azure AD PowerShell module. In its place, Microsoft has released the Microsoft Graph PowerShell module. The Microsoft Graph PowerShell module is the next-generation way of managing Microsoft cloud services using PowerShell. If you have used MSOnline or Azure AD PowerShell in the past, you’ll need to read on to learn about this new module.
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
