PowerShell for Admins

ICYMI: PowerShell Week of 28-September-18

Greg Tate
3 min read
Share:

Topics include PowerShell Rest API on AWS Lamda, web applications in PowerShell, using PowerBI to show DB restores, input validation in functions, PowerShell command history, and the Unplugged session at Ignite with Jeffrey Snover and Jason Helmick.

Special thanks to Mark Roloff and Brett Bunker for pulling it all together this week!

Creating a PowerShell REST API (AWS)

by Norm Johanson on September 23rd
In case you missed it, support for PowerShell Core on AWS Lambda is now a thing. And to help showcase how cool of a thing that is, this article from the AWS Developer Blog walks us through setting up a PowerShell REST API with the Amazon API Gateway.

Building a simple form using PowerShell Polaris module

by Chen V on September 23rd
If I were a betting man, I’d wager you didn’t know there’s a web framework for PowerShell (multiple, actually). Chen’s blog gives us a brief demonstration of how you can leverage Polaris to build simple web applications in PowerShell.

Automate your SQL Server Restore Tests with PowerShell, dbatools and PowerBI

by Marcos Freccia on September 24th
If you’ve been in this gig for any time at all, you know the importance of backups. Especially tested backups. You do test them, right? Well, Marcos here does. In fact, he even has a PowerBI dashboard to show him the results of his database restores at a glance. Read on to see how he sets it all up, along with a link to the GitHub repo.

How To Validate Input in PowerShell Functions, Part 1

by Brien Posey on September 25th
It happens to everyone. You spend all afternoon working on that script, test it, hand it off, and Gomer Pyle finds a way to make it break by passing in data that you didn’t think of. What you need is input validation. Brien kicks things off with an introduction to ValidateSet to help you get a handle on exactly what data people can supply your scripts.

Previous Command History in PowerShell

by Windows OS Hub on September 27th
Prior to Windows PowerShell v5, if you closed the PowerShell window, then you lost your command history. Well, this behavior has now changed. Learn how the built-in PSReadline module provides a persistent command line history across PowerShell instances.

PowerShell.org Challenge - Unanswered Post

Wayne needs help on understanding how to parameterize an email address in his script. Please jump in and offer some help!

New Module PUDAdminCenterPrototype

Based on the popular PowerShell Universal Dashboard, /u/fourierswager brings us a new tool to assist with remotely managing WIndows systems in a web-based GUI. Restart systems, RDP in, and view all manner of information about what’s happening on your hosts. This is a pretty sweet project with lots of potential!

Introducing the ‘Fluxor’ PowerShell Module!

by @vmkdaily on September 21st
Now here’s a cool thing for you vSphere admins. Mike Nist introduces a new cross-platform module, Fluxor, for collecting stats from vSphere, which can then be exported to InfluxDB for nice visualizations of your environment.

PowerShell Unplugged with Jeffrey Snover and Jason Helmick

If you weren’t fortunate enough to attend Microsoft Ignite this year, be sure to set aside some time to watch the PowerShell Unplugged session. Jeffrey and Jason discuss the current state of PowerShell, including some of its cool new features and awesome community.

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.

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