March 4, 2022
Announcements!
Deprecation of Azure AD module extended
(techcommunity.microsoft.com)
It was announced that Microsoft is going to postpone the deprecation of the Azure AD Graph API
By: Microsoft submitted:Jun 16 2022
It was announced that Microsoft is going to postpone the deprecation of the Azure AD Graph API
By: Microsoft submitted:Jun 16 2022
Blogs, Articles, and Posts
A simple performance increase trick
(reddit.com)
Just posting that a simple trick of not using += will help speed up your code by a lot and requires
By: u/kewlxhobbs submitted:Jun 16 2022
Just posting that a simple trick of not using += will help speed up your code by a lot and requires
less work than you think.
By: u/kewlxhobbs submitted:Jun 16 2022
Find orphaned (unused) User Accounts with PowerShell
(sid-500.com)
This short blog post will show you how you can find orphaned user accounts in Active Directory that
By: Patrick Gruenauer submitted:Jun 16 2022
This short blog post will show you how you can find orphaned user accounts in Active Directory that
may no longer be in use. Let's go.
By: Patrick Gruenauer submitted:Jun 16 2022
Learn to adjust the AdminCount attribute in protected accounts
(techtarget.com)
It's critical to know how to change the settings for protected accounts and groups in Active
By: Mike Kanakos submitted:Jun 16 2022
It's critical to know how to change the settings for protected accounts and groups in Active
Directory to avoid serious problems. PowerShell can make quick edits to keep order.
By: Mike Kanakos submitted:Jun 16 2022
Put the Alias Description Property to Work
(tommymaynard.com)
I use a small handful of my own PowerShell aliases and of course some of those included with
By: Tommy Maynard submitted:Jun 16 2022
I use a small handful of my own PowerShell aliases and of course some of those included with
PowerShell natively. There is a best practice around aliases in PowerShell, and that is to not use them in anything that is going to live longer than a one-time use.
By: Tommy Maynard submitted:Jun 16 2022
Uninstall programs (remotely) with PowerShell
(4sysops.com)
Microsoft offers several options if you want to remove installed programs by using the command line
By: Wolfgang Sommergut submitted:Jun 16 2022
Microsoft offers several options if you want to remove installed programs by using the command line
or a script. Unfortunately, no method covers all scenarios. PowerShell's package management, for example, is limited to the local computer, while WMI does not recognize all programs.
By: Wolfgang Sommergut submitted:Jun 16 2022
Using the Microsoft Graph SDK for PowerShell with Azure Automation
(practical365.com)
In a previous article about using Azure Automation accounts and runbooks with the Exchange Online
By: Tony Redmond submitted:Jun 16 2022
In a previous article about using Azure Automation accounts and runbooks with the Exchange Online
management PowerShell module, in that article, I also explained how to use Graph API queries in a PowerShell script executed in a runbook.
By: Tony Redmond submitted:Jun 16 2022
Projects, Scripts, and Modules
Comparing advanced objects
(evotec.xyz)
Let's take two or more objects with the same structure but different data. It's pretty easy to
By: Przemyslaw Klys submitted:Jun 16 2022
Let's take two or more objects with the same structure but different data. It's pretty easy to
compare it if the object is one-dimensional, but things are not that obvious once you try to reach more complicated objects. Below, I have two objects that look the same at first, but I've changed a few values.
By: Przemyslaw Klys submitted:Jun 16 2022
HardeningKitty
(github.com)
The project started as a simple hardening list for Windows 10. After some time, HardeningKitty was
By: Michael Schneider submitted:Jun 16 2022
The project started as a simple hardening list for Windows 10. After some time, HardeningKitty was
created to simplify the hardening of Windows. Now, HardeningKitty supports guidelines from Microsoft, CIS Benchmarks, DoD STIG and BSI SiSyPHuS Win10. And of course my own hardening list.
By: Michael Schneider submitted:Jun 16 2022
Interactive Pipelines
(blog.dcrich.net)
A while back, I asked about how we can pause or close the pipeline prematurely like Select-Object
By: Devin Rich submitted:Jun 16 2022
A while back, I asked about how we can pause or close the pipeline prematurely like Select-Object
-First 3 without causing errors and was told to either try/catch it or use a gist by SeeminglyScience. Well today, I've used that gist and turned it into a module that can do far more than just exit a pipeline early.
By: Devin Rich submitted:Jun 16 2022
Metric Meta PowerShell Scripting
(jdhitsolutions.com)
I was fiddling around with PowerShell the other day. I spend my day in front of a PowerShell prompt
By: Jeff Hicks submitted:Jun 16 2022
I was fiddling around with PowerShell the other day. I spend my day in front of a PowerShell prompt
and am always looking for ways to solve problems or answer questions without taking my hands off the keyboard. For some reason, I started thinking about metric conversions. How many feet are 50 meters? How many meters is 21.5 feet?
By: Jeff Hicks submitted:Jun 16 2022
Books, Media, and Learning Resources
PowerShell S2E64 (Pending reboots) – YouTube
(youtube.com)
In this video I demonstrate how you can get pending reboot information on Windows using remoting
By: IT Generalist aka Mr Automation submitted:Jun 16 2022
In this video I demonstrate how you can get pending reboot information on Windows using remoting
techniques.
By: IT Generalist aka Mr Automation 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.