Announcements!
- Introducing Sudo for Windows!
We’re excited to announce the release of Sudo for Windows in Windows 11 Insider Preview Build 26052! - PowerShell and OpenSSH team investments for 2024
Planned team investments for 2024 for PowerShell, OpenSSH, and related tooling.
Blogs, Articles, and Posts
- How to combine two USB 3.0 Gigabit Ethernet adapters as an external virtual switch in Hyper-V with PowerShell
This blog post will guide you through the process of combining two USB 3.0 Gigabit Ethernet adapters and utilizing themContinue Reading - PowerShell IP Configuration: A Beginner’s Guide to Windows Settings
Master PowerShell IP Configuration: Learn to set up and troubleshoot network IPs on Windows effortlessly. A comprehensive guide for efficient network management. - Export Exchange Online Shared Mailbox Size Report Using PowerShell
Shared mailboxes provide centralized delegated access to common mailboxes and enhance organization-wide coordination without requiring additional licenses. However, it’s crucial to get shared mailbox size reports in Microsoft 365 to tackle potential storage issues. Tracking shared mailbox usage, including the total size aids in capacity planning and enables organizations to maintain a responsive email environment. - How to Check if a Variable is Null or Empty in PowerShell?
While working on a PowerShell script, I got a requirement to check if a PowerShell variable in null or empty. In this PowerShell tutorial, we’ll explore how to check if a variable is null or empty in PowerShell using various methods. To check if a variable in PowerShell is null or empty, you can use ... read more... - Quickly exanding the booking window of all meeting rooms in Microsoft 365
So I got a task to expand the booking window for all the meeting rooms at work. From the default 180 days to 365 days. This isn’t anything big or complicated to do. It’s an everyday task really. But I was wondering, how short can I make the PowerShell script to do this for all meeting rooms?
Projects, Scripts, and Modules
- New MSIdentityTools Cmdlet to Report OAuth Permissions
The latest version of the MSIndentityTools PowerShell module includes the Export-MsIdAppConsentGrantReport cmdlet to generate a report of OAuth app permissions. Allied with the ImportExcel module, the cmdlet can produce a very nice workbook containing lots of information about permissions held by the apps in a tenant. But even better, you can export the data to PowerShell and use it in your scripts. - New enhancements to Get-AutopilotDiagnosticsCommunity
It started off as a simple change: I was annoyed that the “Observed Timeline” in the output from the Get-AutopilotDiagnosticsCommunity (and the older Get-AutopilotDiagnostics script too) had events in the wrong order. - Perform Currency Conversions with PowerShell
I’ve recently been working on a PowerShell module for exploring Azure costs (which I plan to blog about soon) and while doing so added some functionality to allow the costs to be converted between different currencies. It occurred to me that this functionality would be useful as a module of its own, and when I searched around I didn’t find too many recent examples for the same. As such I’ve now developed and published a module in the PowerShell Gallery and on GitHub called CurrencyConverter. - PSAuthClient
PSAuthClient is a flexible PowerShell OAuth2.0/OpenID Connect (OIDC) Client. - ConvertFrom-StringTable v 0.9.6
A PowerShell module designed to effortlessly convert various types of string tables into objects. - PSDates v 1.0.0
PSDates provides you all the tools you need when working with dates and times in PowerShell. It contains function to help you find specific date formats, get certain dates based on other dates (first/last day of the month or year, patch Tuesday, etc). I also has functions for working with timezones, unix time, WMI time, crontabs.
Community
- PowerShell and Pentesting: Hacker Insights with Spencer Alessi
In this action-packed episode of the PowerShell Podcast, we kick off with a loaded preshow featuring an exciting announcement of PowerShelldle, a community tip, and a deep dive into my own PowerShell journey in response to a viewer question. The main segment is a fascinating conversation with Spencer Alessi, where we delve into the world of PowerShell and pentesting. Spencer generously shares the tools he would use as a sysadmin pentesting his own environment, including PowerSploit, PingCastle, Bloodhound, LockSmith, and ADeleg. He provides invaluable tips for PowerShell enthusiasts looking to transition into security and pentesting, shedding light on the current and emerging trends in the security landscape. Spencer also gives us insights into the role that PowerShell plays in his role as a pentester. Get ready for a riveting episode filled with tips, tools, and trends in the world of PowerShell and security. - Is anyone using Powershell with Linux?
Recently installed Powershell upon my Debian 12 system (I was informed that I would need to be comfortable with it in the upcoming months, to work with Azure). With that warning, I purchased the Month of Lunches book, and proceeded to get to it.
Check out psweekly.dowst.dev for all past editions as well as a searchable archive.