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!
PowerShell 7.2 Preview 2 release
(devblogs.microsoft.com)
Today we are proud to announce the second preview release of PowerShell 7.2. This preview is still
By: PowerShell Team submitted:Jun 16 2022
Today we are proud to announce the second preview release of PowerShell 7.2. This preview is still
based on .NET 5 as we wait for the first preview of .NET 6 which we expect PowerShell 7.2 to be based upon.
By: PowerShell Team submitted:Jun 16 2022
Blogs, Articles, and Posts
Deploy OpenSSH Server to Windows 10
(jdhitsolutions.com)
PowerShell 7 offers a number of compelling reasons to adopt it. One of the best is support for SSH
By: Jeff Hicks submitted:Jun 16 2022
PowerShell 7 offers a number of compelling reasons to adopt it. One of the best is support for SSH
as a PowerShell remoting protocol. Unfortunately, this is not a topic that typically comes up for Windows-centric IT Pros. I know this is definitely true in my case, and a deficiency I have been working on. On the plus side, Windows 10 ships with the OpenSSH client installed and ready to go. But what about the OpenSSH Server? On Windows platforms, you need to enable and configure this element if you want to use SSH remoting in PowerShell. Naturally, I'd like to do this with PowerShell and also remotely. First up, I want to show you how to setup the OpenSSH Server component on Windows 10.
By: Jeff Hicks submitted:Jun 16 2022
Hosting and Protecting Your Own NuGet Feed with ProGet
(adamcook.io)
In this post I will share with you how to install Inedo's ProGet to host your own NuGet feed
By: Adam Cook submitted:Jun 16 2022
In this post I will share with you how to install Inedo's ProGet to host your own NuGet feed
(effectively your own PowerShell Gallery). This will let you share PowerShell modules and scripts amongst other systems and colleagues from an internal resource, using cmdlets from the PowerShellGet module e.g. Install-Module, Install-Script, Find-Module, Find-Script etc.
By: Adam Cook submitted:Jun 16 2022
How to Deploy an Azure VM to Availability Zone? (PowerShell Guide)
(rebeladmin.com)
Azure Availability Zones offers high availability for data and applications. In an Azure region,
By: Dishan Francis submitted:Jun 16 2022
Azure Availability Zones offers high availability for data and applications. In an Azure region,
there can be one or more data centers. Azure Availability Zone is made out of one or more datacentres in the same Azure region, which have independent power, hardware, networking, and cooling. All Zone redundant service will replicate data and application across Availability Zone for high resilience. Each Azure region contains a minimum of three Azure Availability Zones.
By: Dishan Francis submitted:Jun 16 2022
Media Sync: Organize Your Photos and Videos with PowerShell
(spiderzebra.com)
Do you have photos and videos that you have taken over the years that are scattered all over the
By: SpiderZebra submitted:Jun 16 2022
Do you have photos and videos that you have taken over the years that are scattered all over the
place? Do you want to have all your photos and videos organized? Do you want all your photos and videos to have a standardized naming scheme? If you answered YES to these questions, then this is the post for you.
By: SpiderZebra submitted:Jun 16 2022
Provisioning Azure Automation using Az.Automation module
(jopx.blogspot.com)
Azure automation is a cloud based service which allows you to automate, configure and install
By: jopx submitted:Jun 16 2022
Azure automation is a cloud based service which allows you to automate, configure and install
updates across hybrid environments. Azure Automation focuses on an infrastructure perspective and allows you to build/deploy resources, handling updates and configuring all type of resources (not only in Azure but also on premise).
By: jopx submitted:Jun 16 2022
Setting up NuGet Server on Windows (Complete Walkthrough)
(adamtheautomator.com)
So you've developed code. Great! Now you have to publish it to your users. But how There are many
By: Adam Bertram submitted:Jun 16 2022
So you've developed code. Great! Now you have to publish it to your users. But how There are many
ways to accomplish this but one of the most used is NuGet. NuGet is a technology that allows you to publish code in the form of packages for others. A NuGet server is a way to make it happen.
By: Adam Bertram submitted:Jun 16 2022
You should be customizing your PowerShell Prompt with PSReadLine
(hanselman.com)
I thought I had things pretty well dialed in. I even used PSReadLine, a bash inspired readline
By: Scott Hanselman submitted:Jun 16 2022
I thought I had things pretty well dialed in. I even used PSReadLine, a bash inspired readline
implementation for PowerShell. But was I REALLY USING IT? No. Honestly, at the time I wouldn't be able to tell you what it offered me as a command line users. Wow was I wrong. Don't sleep on PSReadLine if you use PowerShell as your preferred prompt. Head over there and give them some love and a star and buckle up, friends!
By: Scott Hanselman submitted:Jun 16 2022
Projects, Scripts, and Modules
IT Management Software Integrations with PowerShell
(sourceforge.net)
Compare the Top IT Management Software integrations for PowerShell of 2020
By: SourceForge submitted:Jun 16 2022
Compare the Top IT Management Software integrations for PowerShell of 2020
By: SourceForge submitted:Jun 16 2022
Powershell_Template_with_Transcript.ps1
(gist.github.com)
Template Powershell script with built-in transcript log management
By: Eitan Blumin submitted:Jun 16 2022
Template Powershell script with built-in transcript log management
By: Eitan Blumin submitted:Jun 16 2022
Books, Media, and Learning Resources
How to Add an SSH Key to VS Code and Connect to a Host
(adamtheautomator.com)
If you need to add an SSH key to VS Code to set up an SSH connection using key exchange, this
By: Christopher Bisset submitted:Jun 16 2022
If you need to add an SSH key to VS Code to set up an SSH connection using key exchange, this
tutorial is for you. In this tutorial, you're going to learn, step-by-step, how to configure VS code to connect over SSH via key exchange for both a user with sudo rights (homelab in this guide) and the built in root user.
By: Christopher Bisset submitted:Jun 16 2022
Run Tasks on Timers in PowerShell (YouTube)
(youtube.com)
You can use PowerShell to run tasks on periodic timers. For example, let's say that you want to
By: Trevor Sullivan submitted:Jun 16 2022
You can use PowerShell to run tasks on periodic timers. For example, let's say that you want to
clean up a folder with old log files on an hourly basis. Instead of using your operating system's task scheduler (ie. systemd on Linux, MacOS, or Windows Task Scheduler), you can use PowerShell to create a Timer.
By: Trevor Sullivan submitted:Jun 16 2022
Fun
Retro Dashboard
(docs.ironmansoftware.com)
This retro looking dashboard displays the top 10 CPU and memory using processes, disk usage, and
By: Ironman Software submitted:Jun 16 2022
This retro looking dashboard displays the top 10 CPU and memory using processes, disk usage, and
live CPU and network usage. It also demonstrates how to use themes to custom the backcolor, text color and font family.
By: Ironman Software submitted:Jun 16 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!
Announcing PowerShell Crescendo Preview.1
(devblogs.microsoft.com)
As a shell, PowerShell is intended to work with native commands in addition to cmdlets. However,
By: PowerShell Team submitted:Jun 16 2022
As a shell, PowerShell is intended to work with native commands in addition to cmdlets. However,
native commands have their own unique syntax, sometimes containing many subcommands and parameters/switches, and are often like its own language. Wouldn't it be great to have an option to leverage your PowerShell skills to use new commands or be even more proficient with native commands you are already using?
By: PowerShell Team submitted:Jun 16 2022
Blogs, Articles, and Posts
Active Directory Auditing: How to Track Down Password Changes
(adamtheautomator.com)
Tracking and auditing changes to passwords in an Active Directory (AD) domain are crucial to
By: Adam Listek submitted:Jun 16 2022
Tracking and auditing changes to passwords in an Active Directory (AD) domain are crucial to
maintaining a secure environment and heading off bad actors early. Thankfully, AD offers the information necessary to track these changes, despite being difficult to parse and understand at times. LAPS is a great example of this.
By: Adam Listek submitted:Jun 16 2022
Azure Automation Runbook to manage SharePoin Online SPO
(spjeff.com)
Wanted to demo Azure Runbook with daily PowerShell PS1 that send SharePoint storage report email
By: Jeff Jones submitted:Jun 16 2022
Wanted to demo Azure Runbook with daily PowerShell PS1 that send SharePoint storage report email
with HTML table and CSV attachment. Features include:
By: Jeff Jones submitted:Jun 16 2022
Monitoring with PowerShell: Typosquat domain checking
(cyberdrain.com)
One of my team members was following Blackhat today and showed me a pretty cool tool they
By: Kelvin Tegelaar submitted:Jun 16 2022
One of my team members was following Blackhat today and showed me a pretty cool tool they
demonstrated during the conference. The presenters showed a method of checking if your O365 domain was being Typosquated. The tool can be found here. The presenters made a Python tool, and I figured to create an alternative in PowerShell.
By: Kelvin Tegelaar submitted:Jun 16 2022
Remove-Item : Access to the cloud file is denied while deleting files from OneDrive
(evotec.xyz)
I like OneDrive. It allows me to keep my data secure and always synchronized. If things go wrong, I
By: Przemyslaw Klys submitted:Jun 16 2022
I like OneDrive. It allows me to keep my data secure and always synchronized. If things go wrong, I
can always get it back. I use it for almost everything. Even for my PowerShell projects, which are committed to GitHub, so in theory, I shouldn't need that. But every once in a while, I make some stupid mistake and delete a file that has yet not been committed to GitHub, and that's where the OneDrive comes in handy. Quick restore, and we're back. Unfortunately, sometimes things aren't as I would expect them to work. For example, let's have a look at this nice list of markdown files that are documentation for my module called GPOZaurr.
By: Przemyslaw Klys submitted:Jun 16 2022
Wrangling REST APIs and JSON with PowerShell (Four Demos!)
(adamtheautomator.com)
PowerShell is an incredibly flexible language. It has its proverbial digital fingers in just about
By: Christopher Bisset submitted:Jun 16 2022
PowerShell is an incredibly flexible language. It has its proverbial digital fingers in just about
every corner of the Windows world you can imagine. However, there comes a time when you need to start integrating external sites and parties. Thankfully, many services have APIs which allow you to work with web services via code.
By: Christopher Bisset submitted:Jun 16 2022
Projects, Scripts, and Modules
PSChristmas
(github.com)
A demonstration class based PowerShell module
By: Jeff Hicks submitted:Jun 16 2022
A demonstration class based PowerShell module
By: Jeff Hicks submitted:Jun 16 2022
Send to Viewer.ps1
(github.com)
Simple text viewer so won't add history anywhere. Takes multiple files, from explorer send to, or if
By: Guy Leech submitted:Jun 16 2022
Simple text viewer so won't add history anywhere. Takes multiple files, from explorer send to, or if
no files, uses clipboard
By: Guy Leech submitted:Jun 16 2022
Books, Media, and Learning Resources
Core Concept: Regex for N00bs (YouTube)
(youtube.com)
Ever wish you could learn Regex in a simple, straightforward tutorial with one of the best speakers
By: Thomas Rayner submitted:Jun 16 2022
Ever wish you could learn Regex in a simple, straightforward tutorial with one of the best speakers
in the PowerShell community? Check out this awesome intro to Regex
By: Thomas Rayner submitted:Jun 16 2022
Introduction to PowerShell
(docs.microsoft.com)
Learn about the basics of PowerShell. This cross-platform command-line shell and scripting language
By: Microsoft submitted:Jun 16 2022
Learn about the basics of PowerShell. This cross-platform command-line shell and scripting language
is built for task automation and configuration management. You'll learn basics like what PowerShell is, what it's used for, and how to use it.
By: Microsoft submitted:Jun 16 2022
PowerShell 7 for IT Professionals
(amazon.com)
PowerShell 7 for IT Pros is your guide to using PowerShell 7, the open source, cross-platform
By: Thomas Lee submitted:Jun 16 2022
PowerShell 7 for IT Pros is your guide to using PowerShell 7, the open source, cross-platform
version of Windows PowerShell. Windows IT professionals can begin setting up automation in PowerShell 7, which features many improvements over the early version of PowerShell Core and Windows PowerShell. PowerShell 7 users can enjoy the high level of compatibility with the Windows PowerShell modules they rely on today. This book shows IT professionals?especially Windows administrators and developers?how to use PowerShell7 to engage in their most important tasks, such as managing networking, using AD/DNS/DHCP, leveraging Azure, and more.
By: Thomas Lee submitted:Jun 16 2022
Fun
cool-retro-term
(github.com)
A good looking terminal emulator which mimics the old cathode display...
By: Filippo Scognamiglio submitted:Jun 16 2022
A good looking terminal emulator which mimics the old cathode display...
By: Filippo Scognamiglio submitted:Jun 16 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!
Incident Report – PowerShell Gallery Downtime October 30, 2020
(devblogs.microsoft.com)
The PowerShell gallery experienced downtime on October 30th 2020. This report will give context as
By: PowerShell Team submitted:Jun 16 2022
The PowerShell gallery experienced downtime on October 30th 2020. This report will give context as
to what caused the downtime, what actions were taken to mitigate the issue, and what steps we are taking to improve the PowerShell gallery experience moving forward.
By: PowerShell Team submitted:Jun 16 2022
Update: 2021 PowerShell DevOps Global Summit
(powershell.org)
It's time to get excited for the PowerShell + DevOps Global Summit, which is returning April 27-29,
By: Mike Kanakos submitted:Jun 16 2022
It's time to get excited for the PowerShell + DevOps Global Summit, which is returning April 27-29,
2021 as a virtual event. I'm here to share with you some details we have planned for this year's event. The upcoming summit will differ from years past, since this event will be 100% virtual. You may wonder what a virtual event would be like, and is it worth it to attend?
By: Mike Kanakos submitted:Jun 16 2022
Blogs, Articles, and Posts
Control license allocation with the PowerShell in Microsoft 365!
(techcommunity.microsoft.com)
I used the PowerShell ISE for this configuration. But you are also very welcome to use Visual Studio
By: Tom Wechsler submitted:Jun 16 2022
I used the PowerShell ISE for this configuration. But you are also very welcome to use Visual Studio
Code, just as you wish. Please start with the following steps to begin the deployment (the Hashtags are comments):
By: Tom Wechsler submitted:Jun 16 2022
Get The List of Non-Compliant Azure Resources With PowerShell
(charbelnemnom.com)
In this article, I will share with you how to get the list of non-compliant Azure resources to be
By: Charbel Nemnom submitted:Jun 16 2022
In this article, I will share with you how to get the list of non-compliant Azure resources to be
remediated in all your Azure subscriptions with PowerShell.
By: Charbel Nemnom submitted:Jun 16 2022
Microsoft Graph: Get group info
(ingogegenwarth.wordpress.com)
In my daily work, I often have to deal with topics, where I need to collect more information about a
By: Ingo Gegenwarth submitted:Jun 16 2022
In my daily work, I often have to deal with topics, where I need to collect more information about a
group. Yes, the new UI in the AAD portal helps, but doesn't provide all the information. On the other side there are a ton of PowerShell modules e.g.: MSOL, AzureAD or AzureADPreview.
By: Ingo Gegenwarth submitted:Jun 16 2022
PowerShell: Connect to Azure with stored Credentials
(sid-500.com)
f you need to connect to Microsoft Azure frequently, it might be useful to store your tenant
By: Patrick Gruenauer submitted:Jun 16 2022
f you need to connect to Microsoft Azure frequently, it might be useful to store your tenant
information. Why? It brings comfort while giving up security. It's your choice. In this blog post I will show you a walkthrough how to connect to Azure with stored credentials. The credentials are encryptet with a certificate. Let's move on.
By: Patrick Gruenauer submitted:Jun 16 2022
Reading Last Logged-On User and Other Registry Values
(community.idera.com)
Reading some registry values with PowerShell is typically a snap: simply use Get-ItemProperty. This
By: Idera submitted:Jun 16 2022
Reading some registry values with PowerShell is typically a snap: simply use Get-ItemProperty. This
snippet of code reads the Windows operating system details, for example:
By: Idera submitted:Jun 16 2022
Since mmc won’t do it here’s PowerShell to clone a scheduled task running under an arbitrary account
(twitter.com)
Another slick solution from Guy Leech
By: Guy Leech submitted:Jun 16 2022
Another slick solution from Guy Leech
By: Guy Leech submitted:Jun 16 2022
Sitecore PowerShell Extensions – Find Content Items Missing From Sitecore Indexes
(sitecoreart.martinrayenglish.com)
Over the course of the last month, we ran into data inconsistencies between what was in our content
By: Martin English submitted:Jun 16 2022
Over the course of the last month, we ran into data inconsistencies between what was in our content
databases compared to our Solr indexes.
By: Martin English submitted:Jun 16 2022
Books, Media, and Learning Resources
Debugging PowerShell Scripts in Visual Studio 2019 (YouTube)
(youtube.com)
In this video, Adam shows how to debug PowerShell scripts in Visual Studio 2019 and PowerShell Tools
By: Adam Driscoll submitted:Jun 16 2022
In this video, Adam shows how to debug PowerShell scripts in Visual Studio 2019 and PowerShell Tools
for Visual Studio. You can download PowerShell Tools for Visual Studio from the Visual Studio Marketplace.
By: Adam Driscoll submitted:Jun 16 2022
Setting up Visual Studio Code for PowerShell Development (YouTube)
(youtube.com)
If you're an aspiring PowerShell developer, we'll explore the process of getting set up with Visual
By: Trevor Sullivan submitted:Jun 16 2022
If you're an aspiring PowerShell developer, we'll explore the process of getting set up with Visual
Studio Code for PowerShell development work. It doesn't matter if you're using Linux, Mac, or Windows, you can be productive as a PowerShell developer on any development platform!
By: Trevor Sullivan submitted:Jun 16 2022
The PowerShell Conference Book Volume 3
(leanpub.com)
20+ subject matter experts (including yours truly) have teamed up to bring you the ultimate
By: The DevOps Collective submitted:Jun 16 2022
20+ subject matter experts (including yours truly) have teamed up to bring you the ultimate
collection of PowerShell+DevOps topics that are designed to be like a conference in a book. This book not only delivers top-notch content that rivals any book on the market, but all royalties are donated to the OnRamp scholarship program which bootstraps others into the industry.
By: The DevOps Collective submitted:Jun 16 2022
The PowerShell Scripting and Toolmaking Book (Forever Edition)
(leanpub.com)
Learn the patterns, practices, and details of PowerShell Scripting and Toolmaking from the
By: Don Jones and Jeff Hicks submitted:Jun 16 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 16 2022
Fun
Want to practice your skills? Advent of Code 2020 went live today!
(reddit.com)
Friendly reminder that Advent of Code started today! Time to save Santa. Or maybe the elves. Or
By: u/Betterthangoku submitted:Jun 16 2022
Friendly reminder that Advent of Code started today! Time to save Santa. Or maybe the elves. Or
maybe Rudolph or something. I dunno, but it's a great way to learn/practice coding.
By: u/Betterthangoku submitted:Jun 16 2022
Upcoming Events
PowerShell Usergroup #region Munich December meetup
(meetup.com)
Donnerstag, 10. Dezember 2020 19:00 bis 21:00 MEZ
By: German PowerShell Usergroup submitted:Jun 16 2022
Donnerstag, 10. Dezember 2020 19:00 bis 21:00 MEZ
By: German PowerShell Usergroup submitted:Jun 16 2022
vTechUG Virtual Tech Community Event
(techug.org.uk)
Thurs 10th Dec 2020 - vTechUG is the virtual tech community event for IT Ops, IT Infrastructure,
By: TechUG submitted:Jun 16 2022
Thurs 10th Dec 2020 - vTechUG is the virtual tech community event for IT Ops, IT Infrastructure,
Cloud, DevOps & CyberSecurity Professionals. We're completely independent and guided by local committee members who help create a great community experience.
By: TechUG submitted:Jun 16 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.