Do you have a suggestion for PowerShell Weekly? Do you know something that should be included? Let me know in the comments below, or on
twitter.
Announcements!
Announcing the PowerShell 7.0 Release Candidate
(devblogs.microsoft.com)
After 6 previews, we're happy to announce the release of the PowerShell 7 Release Candidate (RC).
By: Joey Aiello submitted:Jun 15 2022
After 6 previews, we're happy to announce the release of the PowerShell 7 Release Candidate (RC).
Whether you've been running PowerShell Core since our first alpha releases or you've been clinging to Windows PowerShell for backwards compatibility, 7.0 delivers a host of improvements to make your life better.
By: Joey Aiello submitted:Jun 15 2022
Blogs, Articles, and Posts
Curl vs. PowerShell: Comparing Use Cases
(adamtheautomator.com)
Curl is a versatile tool that allows you to make HTTP calls across a wide range of situations. It's
By: Devin Rich submitted:Jun 15 2022
Curl is a versatile tool that allows you to make HTTP calls across a wide range of situations. It's
been around mostly in the Linux world for many years but more recently in Windows 10. But the scripting language PowerShell can accomplish similar tasks that curl can. Is PowerShell a good alternative to curl? What are the differences? Let's find out!
By: Devin Rich submitted:Jun 15 2022
Find Azure Marketplace VM images using PowerShell
(yobyot.com)
With PowerShell 7 bringing back the endlessly useful Out-GridView (woot!), I wanted a simple script
By: Alex Neihaus submitted:Jun 15 2022
With PowerShell 7 bringing back the endlessly useful Out-GridView (woot!), I wanted a simple script
to allow a DevOps architect to quickly locate a specific Azure VM Marketplace image. That script is posted below. You can use the output of the script to complete theimageReference property of Microsoft.Compute/virtualMachines in an ARM template that deploys a VM.
By: Alex Neihaus submitted:Jun 15 2022
The Ultimate Guide to Building REST APIs with PowerShell
(ironmansoftware.com)
This guide will cover how to build REST APIs using Universal Dashboard and PowerShell. Most of this
By: Adam Driscoll submitted:Jun 15 2022
This guide will cover how to build REST APIs using Universal Dashboard and PowerShell. Most of this
post can be accomplished with Universal Dashboard Community. Only the section covering Authentication and Authorization will require Premium or Enterprise.
By: Adam Driscoll submitted:Jun 15 2022
Using PowerShell Core 6 and 7 in the Windows PowerShell ISE
(ironmansoftware.com)
PowerShell Core 6 and 7 are the way forward for PowerShell. The PowerShell team is no longer
By: Adam Driscoll submitted:Jun 15 2022
PowerShell Core 6 and 7 are the way forward for PowerShell. The PowerShell team is no longer
investing in Windows PowerShell 5.1 or the PowerShell ISE. It's recommended that you should upgrade to the newest versions to get new features. That said, many people are still using Windows PowerShell and the PowerShell ISE. In this post, we will look at how to use the PowerShell ISE with PowerShell Core 6 and 7.
By: Adam Driscoll submitted:Jun 15 2022
Books, Media, and Learning Resources
Introduction to Kansa (PowerShell-based Incident Response)
(youtube.com)
As a continuation of the "Introduction to Windows Forensics" series, this episode covers a powerful,
By: 13Cubed submitted:Jun 15 2022
As a continuation of the "Introduction to Windows Forensics" series, this episode covers a powerful,
PowerShell-based incident response framework called Kansa. Kansa uses PowerShell Remoting to run user contributed modules across hosts in an enterprise to collect data for use during incident response, breach hunts, or for building an environmental baseline. This framework can be run across a single host, or even tens of thousands of hosts.
By: 13Cubed submitted:Jun 15 2022
Powershell Core 6.2 Cookbook
(packtpub.com)
Make use of hands-on recipes for many tasks that are typically encountered in both the on-premises
By: Jan-Hendrik Peters submitted:Jun 15 2022
Make use of hands-on recipes for many tasks that are typically encountered in both the on-premises
as well as the cloud world.
By: Jan-Hendrik Peters submitted:Jun 15 2022
PowerShell Deep Dives
(manning.com)
Here's your chance to learn from the best in the business. PowerShell Deep Dives is a trove of
By: Jeffery Hicks, Richard Siddaway, Oisin Grehan, and Aleksandar Nikolic submitted:Jun 15 2022
Here's your chance to learn from the best in the business. PowerShell Deep Dives is a trove of
essential techniques, practical guidance, and the expert insights you earn only through years of experience. Editors Jeffery Hicks, Richard Siddaway, Oisin Grehan, and Aleksandar Nikolic hand-picked the 28 chapters in the book's four parts: Administration, Scripting, Development, and Platforms.
By: Jeffery Hicks, Richard Siddaway, Oisin Grehan, and Aleksandar Nikolic submitted:Jun 15 2022
Fun
PowerShell Web Search and Generating Word Cloud from Results
(ridicurious.com)
This is a quick fun blog post to demonstrate how to perform a programmatical web search (A Bing
By: Prateek Singh submitted:Jun 15 2022
This is a quick fun blog post to demonstrate how to perform a programmatical web search (A Bing
search! ??) and create a word cloud using the preview snippets any search engine generates, as you can see in the following image which can give you some context on the specific topic.
By: Prateek Singh submitted:Jun 15 2022
Do you have a suggestion for PowerShell Weekly? Do you know something that should be included? Let me know in the comments below, or on
twitter.
Announcements!
Improvements in Windows PowerShell Container Images
(devblogs.microsoft.com)
Beginning with Windows Server 20H1 Insider builds, Windows Server Core Insider images have been
By: Joey Aiello submitted:Jun 15 2022
Beginning with Windows Server 20H1 Insider builds, Windows Server Core Insider images have been
reduced in size from ~2.1 GBs to ~1.1 GBs. Find out what this mean for you as a PowerShell user?
By: Joey Aiello submitted:Jun 15 2022
Blogs, Articles, and Posts
9 Tips for Writing Better PowerShell Functions
(devblackops.io)
One of the most common tasks in PowerShell is writing PowerShell functions. Functions are one of the
By: Brandon Olin submitted:Jun 15 2022
One of the most common tasks in PowerShell is writing PowerShell functions. Functions are one of the
basic building blocks we use to separate and abstract our code away. Without them, our scripts would be just a tangled mess of if statements, while and for loops, and duplicated code.
By: Brandon Olin submitted:Jun 15 2022
A PowerShell Recursive Function
(powershell.org)
I was recently in a position where I was asked to provide an example of a PowerShell recursive
By: Tommy Maynard submitted:Jun 15 2022
I was recently in a position where I was asked to provide an example of a PowerShell recursive
function. Unfortunately, I didn't have time to do that as it was a part of a written, and timed, test. Sadly, I didn't even really have time to review the other 50-some answers I had already provided. I mostly knew that might happen.
By: Tommy Maynard submitted:Jun 15 2022
Finally Making Sense of How Windows Manages Certificates
(adamtheautomator.com)
If you're a Windows system administrator, you might have been forced to work with certificates.
By: Michael Soule submitted:Jun 15 2022
If you're a Windows system administrator, you might have been forced to work with certificates.
Working with certificates in Windows is typically one of those extra hats a sysadmin has to take on. Certificates are notoriously complex and hard to understand but in this article, you'll get a chance to discover certificates aren't that scary in Windows!
By: Michael Soule submitted:Jun 15 2022
Getting Started with Chocolatey [A Walkthrough]
(adamtheautomator.com)
If you're struggling with managing and maintaining software across your environment, you're in for a
By: Francisco Navarro submitted:Jun 15 2022
If you're struggling with managing and maintaining software across your environment, you're in for a
treat. In this article, you're going to learn all about the ubiquitous package management tool called Chocolatey. Whether you're building a DevOps pipeline, attempting to automate software deployments or an individual user wanted to speed up software installations, this article is for you.
By: Francisco Navarro submitted:Jun 15 2022
Making Sense of Data: The Matrix
(toastit.dev)
PowerShell is a, well, powerhouse when it comes to collecting data. Sometimes however it can feel
By: Josh King submitted:Jun 15 2022
PowerShell is a, well, powerhouse when it comes to collecting data. Sometimes however it can feel
like you're swimming in said data and you can't quite find the right way to understand that data yourself, let alone hand that data off to someone else and it actually be useful.
By: Josh King submitted:Jun 15 2022
Books, Media, and Learning Resources
PowerShell Playbook: Automating Active Directory
(pluralsight.com)
If you manage Active Directory, you need to know PowerShell. This course covers everything you need
By: Anthony Howell submitted:Jun 15 2022
If you manage Active Directory, you need to know PowerShell. This course covers everything you need
to get started building your own PowerShell toolkit.
By: Anthony Howell submitted:Jun 15 2022
Regex for N00bs
(youtube.com)
REGEX!!! It's often misunderstood and hated by many! But the truth is regex is super powerful and
By: Thomas Rayner submitted:Jun 15 2022
REGEX!!! It's often misunderstood and hated by many! But the truth is regex is super powerful and
sometime it's the best tool for the job!
By: Thomas Rayner submitted:Jun 15 2022
Fun
PSChristmas
(github.com)
A demonstration class based PowerShell module
By: Jeff Hicks submitted:Jun 15 2022
A demonstration class based PowerShell module
By: Jeff Hicks submitted:Jun 15 2022
Do you have a suggestion for PowerShell Weekly? Do you know something that should be included? Let me know in the comments below, or on
twitter.
Blogs, Articles, and Posts
Developing PowerShell Azure Functions Locally in a Container
(millerb.co.uk)
I have recently just switched work machines from a Windows laptop to a Macbook. I've not had much
By: Brett Miller submitted:Jun 15 2022
I have recently just switched work machines from a Windows laptop to a Macbook. I've not had much
exposure to anything other than Windows but I live on the command line most of the time and 'mac' -eq 'linux' anyway right?
By: Brett Miller submitted:Jun 15 2022
Getting Started with Azure Automation
(blog.ipswitch.com)
One of the most popular automation tools is Azure Automation and this will be a series of posts
By: June Castillote submitted:Jun 15 2022
One of the most popular automation tools is Azure Automation and this will be a series of posts
covering the introduction to Azure Automation, creating automation runbooks, dealing with assets, testing and publishing runbooks.
By: June Castillote submitted:Jun 15 2022
Getting Started with PowerShell: The First Five Commands You Need to Master
(networkadm.in)
Getting started with PowerShell is easy. In fact, it's easy enough for some people that they just
By: Mike Kanakos submitted:Jun 15 2022
Getting started with PowerShell is easy. In fact, it's easy enough for some people that they just
dive in and start using it every day with little formal knowledge. At some point though, everyone needs a little help. The PowerShell console has a rich set of cmdlets and built-in help that can be useful for learning how to use the PowerShell language correctly.
By: Mike Kanakos submitted:Jun 15 2022
How to easily sign PowerShell scripts
(itluke.online)
I am a SysAdmin and whenever I need to type interactive commands I use ISE because I can work
By: Luc Fullenwarth submitted:Jun 15 2022
I am a SysAdmin and whenever I need to type interactive commands I use ISE because I can work
simultaneously on several servers from several script panes. However, when I write scripts, functions or modules I use VSCode. Unfortunately, at the time of this writing, in VSCode there is no builtin feature, nor extension to assist us in signing PowerShell code
By: Luc Fullenwarth submitted:Jun 15 2022
How to Manage IIS Websites with PowerShell
(adamtheautomator.com)
If you manage Windows Servers, you've likely worked with Internet Information Services (IIS).
By: Bill Kindle submitted:Jun 15 2022
If you manage Windows Servers, you've likely worked with Internet Information Services (IIS).
Websites are one of IIS's main features and, using PowerShell, you can easily manage and automate IIS websites with ease!
By: Bill Kindle submitted:Jun 15 2022
Managing the Recycle Bin with PowerShell
(jdhitsolutions.com)
A while ago, I posted an Iron Scripter challenge asking you to write some PowerShell code for
By: Jeff Hicks submitted:Jun 15 2022
A while ago, I posted an Iron Scripter challenge asking you to write some PowerShell code for
working with items in the recycle bin. You were asked to calculate how much space the recycle bin is using and then restore a file. If you'd prefer, stop reading this post, check out the challenge and see what you can come up with. If you get stuck, this article might get you back on track. Although, I'm sure there are several ways to meet the challenge. My solution is far from the only solution.
By: Jeff Hicks submitted:Jun 15 2022
PowerShell vs. Python: A Battle for the Ages
(adamtheautomator.com)
What's the best programming language? You might get ten different answers when asking ten different
By: Mohamed Mostafa submitted:Jun 15 2022
What's the best programming language? You might get ten different answers when asking ten different
developers. In this article, we're going to compare two languages; PowerShell and Python. You will get a glimpse into each of these languages and understand how they compare and contrast in features such as syntax, availability across platforms, and more.
By: Mohamed Mostafa submitted:Jun 15 2022
Process CPU Usage Limit
(controlup.com)
Finds threads over consuming CPU in the selected process and reduces their average CPU consumption
By: Guy Leech submitted:Jun 15 2022
Finds threads over consuming CPU in the selected process and reduces their average CPU consumption
based on the agressiveness argument. The higher the agressiveness, the more CPU throttling is performed. The number can be between 1 and 10 including decimal places. A duration can be set, in minutes or parts there of, for how long the selected process will be monitored/adjusted but if set to 0 then the process will be monitored/adjusted until it exits. WARNING: This may make interactive applications become sluggish for users if they are targeted.
By: Guy Leech submitted:Jun 15 2022
Books, Media, and Learning Resources
The PowerShell Scripting and Toolmaking Book
(leanpub.com)
Learn the patterns, practices, and details of PowerShell Scripting and Toolmaking from the
By: Don Jones and Jeff Hicks submitted:Jun 15 2022
Learn the patterns, practices, and details of PowerShell Scripting and Toolmaking from the
industry's two most recognized experts on the subject.
By: Don Jones and Jeff Hicks submitted:Jun 15 2022
Fun
25 Days of Serverless
(25daysofserverless.com)
Want to check off that coding New Year Resolution early and have fun doing it? Join the
By: @AzureAdvocates submitted:Jun 15 2022
Want to check off that coding New Year Resolution early and have fun doing it? Join the
@AzureAdvocates and puzzle solvers all over the world for #25DaysOfServerless adventures! We'll publish one Serverless coding challenge a day, for 25 days. Solve it in the programming language of your choice and submit your solution via GitHub. We'll showcase the best solutions every week and possibly in a final series recap!
By: @AzureAdvocates submitted:Jun 15 2022
Enter-BSOD
(reddit.com)
PS-script to prank your friends into a fake 'Blue Screen of Death'
By: submitted:Jun 15 2022
PS-script to prank your friends into a fake 'Blue Screen of Death'
By: submitted:Jun 15 2022
Friday Fun: Getting Ahead with Windows Terminal
(jdhitsolutions.com)
I've been using the new Windows Terminal from Microsoft for quite while. In fact, it has become my
By: Jeff Hicks submitted:Jun 15 2022
I've been using the new Windows Terminal from Microsoft for quite while. In fact, it has become my
standard command line interface for PowerShell and more. I'm not sure at what point some of these features were added, but I can now set a background image and specify where to display it in the terminal. This has led me to creating a PowerShell 7 experience like this:
By: Jeff Hicks submitted:Jun 15 2022
Do you have a suggestion for PowerShell Weekly? Do you know something that should be included? Let me know in the comments below, or on
twitter.