Blogs, Articles, and Posts
- Mastering Active Directory Hygiene: Automating SIDHistory Cleanup with CleanupMonster
Security Identifier (SID) History is a useful mechanism in Active Directory (AD) migrations. It allows users and groups in a new domain to retain access to resources that still rely on permissions from the old domain. However, once migrations are completed, these historical SIDs can become clutter, posing both security and administrative challenges. - SharePoint Online PowerShell Module Gets Modern Authentication
Microsoft has announced that the SharePoint Online PowerShell module will be upgraded from the very old and now obsolete IDCRL protocol to use modern (OAuth) authentication in versions released from March 28, 2025. The update to OAuth should not affect scripts, but it’s always wise to test in case your use of the module is an edge case that Microsoft doesn’t test. - EntraFIDOFinder now with over 50 new keys!
I guess I should be careful what I ask for now.. Not sure if you saw, but when Microsoft first made this update it blew up my repo with over 100 issues due to all the changes and I assumed Microsoft had changed how they formatted their website, but they hadn’t. - Ensure a Function Should be Invoked
it’s been a long time since I’ve written; I know. I still use PowerShell at every opportunity; I just don’t write about it like I used to. An average of a post per week for nine years, which is what I managed previously, wasn’t always something I planned to maintain. - ShellGPT for PowerShell: AI assistant with local Ollama support
In this guide, I’ll walk through installing ShellGPT (shell_gpt) – a command-line AI assistant – on PowerShell using a local Ollama LLM. This approach lets you use AI in your terminal without relying on cloud APIs, which is great for privacy. This review highlights the use of ShellGPT on Windows through PowerShell. If you are using Mac or Linux, check out our earlier review of ShellGPT. - How to update multiple Hyper-V VMs offline
In environments with multiple VMs running the same Windows version, powering down the Hyper-V VMs during a maintenance window is usually the most efficient way to update them offline. This involves mounting the virtual disk and installing updates through PowerShell. This approach also benefits VMs that have been powered off for an extended period. Instead of starting them in an outdated and potentially vulnerable state, you can apply critical security updates in advance. - How To Extract Mailboxes From EDB File
Sponsored – Exchange Server Database (EDB) files consist of the emails, contacts, notes, calendar, and other crucial mailbox items. Several reasons may prompt you to extract these mailboxes from EDB file. - Reinventing PowerShell in C/C++ – SCRT Team Blog
Reinventing PowerShell in C/C++: Bypassing Security FeaturesThe article demonstrates creating a full PowerShell console using native C/C++ code, bypassing security features like AMSI and Constrained Language Mode. - Windows Server Core – Command Line Only Administration
Run Windows Server Core in 2025—CLI setup, roles, remote ops, FAQs. Full guide for IT pros. Master it now!
Projects, Scripts, and Modules
- Auto Archive Inactive Teams in Microsoft Teams
Each project in an organization follows a lifecycle, including start, execution, and completion. However, even after a project ends, the corresponding team often remains in the execution phase, leading to a growing number of inactive teams in Microsoft Teams. - Dynamics 365 F&O IAM PowerShell Module
Over the years I’ve written many an integration with identity sources. Dynamics 365 F&O though is one that has come up a number of times. With that in mind I’ve written a PowerShell Module to expose and simplify integration with Dynamics 365 F&O for Users and Roles.
Books, Media, and Learning Resources
- Inside IT Automation | E20
Microsoft MVP Doug Finke talks about the state of AI and PowerShell
Community
- Exploring PowerShell for Physical Security and Automation with Cody Paternostro
In this episode of the PowerShell Podcast, we welcome Cody Paternostro, a rising star in PowerShell automation, to discuss his unique journey into IT, the power of persistence in learning, and his work on RemotePro, a sophisticated PowerShell-based security camera management tool. Cody shares how he transitioned from food delivery to IT, leveraged PowerShell to streamline operations in physical security, and how asking the right questions helped accelerate his growth. - PowerShell Community Award Nominations
Nominate a deserving community member today! Submissions close April 3, 2025, at 5 PM ET
Events
- PowerShell + DevOps Global Summit 2025
April 7-10, 2025 Bellevue, WA
Check out psweekly.dowst.dev for all past editions as well as a searchable archive.