PowerShell for Admins

ICYMI: PowerShell Week of 11-October-2019

Robin Dadswell
2 min read
Share:

Topics include PowerShell GUIs, New PS 7 features and more

Special thanks to Robin Dadswell, Prasoon Karunan V, and Kevin Laux.

Making Sense of Parallel FOREACH-OBJECT in Powershell 7

by Jeffery Hicks on 7th October

Having this feature as part of the language is a welcome addition. But this isn’t magic and there are real-world consequences when you use it. The -Parallel parameter will spin up a collection of runspaces and run your scriptblock in each one. Running something in parallel does not mean in order.

Select an Azure Subscription Easily

by Alex Neihaus on 8th of October

You can use the power of the PowerShell pipeline with OGV to actually make it easy to select the active Azure subscription you want.

Ansible, Windows and PowerShell: the Basics – Part 3, Windows Roles and Features

by Jonathan Medd on 8th of October

Part 3 of a multipart post about using Ansible and PowerShell to prepare servers with Windows Roles and Features.

Simple PowerShell Chat

posted on Idera on 9th of October

Here’s a fun PowerShell script that you can use to create a simple multi-channel chat room. All you need is a network share where everyone has read and write permissions.

Deep Dive: PowerShell Loops and Iterations

by Akshi Srivastava on 10th of October

PowerShell supports many different types of loops Akshi does a great job of explaining them all.

Reddit /r/PowerShell - Most Popular Weekly Post

User Weebsnore shares a way to turn a csv file into a GUI for launching multiple powershell scripts.

Tweet of the Week

Stevelee demos a new feature of Select-String in PS 7 Preview 5, text highlighting.

Youtube: LetsPlay Powershell: PSKoans #14

If you’ve never used PSKoans before this video shows how it can be a fun way to learn PowerShell with Pester tests.

Podcast

This episode was recorded at the PowerShell on the River event. It is a sitdown interview with David Littlejohn and James Petty. We discuss the speakers and topics at the event, while also talking about future PowerShell events across the country. We also discuss the OnRamp program and its value to both the industry and the students.

Related Articles

Sep 15, 2023

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.

Sep 15, 2023

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.

Oct 8, 2021

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