PowerShell for Admins PowerShell for Developers Tips and Tricks

ICYMI: PowerShell Week of 22-November-2019

Robin Dadswell
2 min read
Share:

Topics include Group-Object, Power Platform, Preview 6 and more.

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

Speeding Up Group-Object

by Tobias Weltner on 17th November

There is a design flaw in Group-Object. With a workaround, your scripts can be up tp 50x faster and still 2x faster on PowerShell Core.

Safely Using WMI in PowerShell (Part 2)

by Prateik Singh on 18th November

In this mini-series, we are looking at the differences between Get-WmiObject and Get-CimInstance. Future PowerShell versions no longer support Get-WmiObject, so it is time to switch to Get-CimInstance if you haven’t already.

PowerShell: The Software that Changed My Life

by Adam Bertram on 19th November

In this personal blog post, learn how one technology managed to change the entire trajectory of a sysadmin.

How to Block Self-Service Purchase for Power Platform Products Using PowerShell

by the AdminDroid team on 19th November

Recently Microsoft announced Self-service purchase capabilities for Power Platform products (Power BI, PowerApps, and Flow).

Self-service purchase capability arrives automatically and enabled by default. Due to this change, individuals within the organization can buy subscriptions directly without contacting their IT department.

PowerShell 7 Preview 6

by Steve Lee on 21st November

Today we shipped PowerShell 7 Preview.6! This release contains a number of new features and many bug fixes from both the community as well as the PowerShell team. This will be the last preview release as we head towards a Release Candidate in December.

Reddit /r/PowerShell - Most Popular Weekly Post

Employee deleted 60,000 files from company sharepoint

Tweet of the Week

@Jessitron shows you how to create your own custom Prompt in PowerShell.

Youtube: PowerShell Ping Buddy - Part 1

A video by Adam Driscoll showing off ping buddy a simple grid display for ping results.

Related Articles

Sep 12, 2019

The Ternary Cometh

Developers are likely to be familiar with ternary conditional operators as they’re legal in many languages (Ruby, Python, C++, etc). They’re also often used in coding interviews to test an applicant as they can be a familiar source of code errors. While some developers couldn’t care less about ternary operators, there’s been a cult following waiting for them to show up in Powershell. That day is almost upon us. Any Powershell developer can easily be forgiven for scratching their heads and wondering what a ternary is.

Jul 8, 2019

Quick ProTip: Negotiate TLS Connections In Powershell With A Minimum TLS Version Requirement

Synopsis This is a quick post to highlight the nuances of Powershell and protocol management in regard to TLS connections. If you’ve ever attempted to make a secure connection (for example, an API request) to a service with certain net security requirements, you might have run into this problem. While TLS is negotiated at the highest level existing on both the server and the client, the minimum protocols defined by Powershell may include ones that you explicitly do not want.