pwshguy (mdowst)
Father, author, blogger, enthusiast of all things PowerShell and automation. http://linktr.ee/mdowst
- 150 Posts
- 65 Comments
pwshguy (mdowst)OPMto
Powershell•PowerShell Weekly for January 23, 2026
link fedilink 1 month ago2·arrow-up I actually wrote a module to do just that. You can install it and just run
Get-PSWeeklyto get the latest edition. https://www.powershellgallery.com/packages/PSWeekly/0.0.1From a technical point of view the reason that script won’t work is because of the way my site is set up. I’m using an add-on that has it’s own content types the links. Each week has a unique tag, so they only show on that weeks page. Therefore, the actual post will only return the link tag for that week. Then you have to look up all of the links with that tag. You can see how I do it here:
pwshguy (mdowst)Mto
Powershell•Pipeline & object manipulation cheatsheet
link fedilink 1 month ago1·arrow-up Nice resource! I really like that layout. What did you use to generate the HTML?
pwshguy (mdowst)Mto
Powershell•How to split PDF into individual pages without installing anything?
link fedilink 7 months ago1·arrow-up PowerShell does not have a built in PDF reader, so it is not possible without installing a module or calling a third party app. The PSWritePDF module will do what you are asking. The module can be installed from the gallery, so you could technically install and import it in a single line.
pwshguy (mdowst)OPto
Battlestations@lemmy.world•My temp set up while I wait for the movers with my furniture
link fedilink 8 months ago3·arrow-up An external USB monitor. It’s old so it’s actually only a USB 2.0.
Either my wife or I will bust out “Bye, Felicia” at least once a week.
The Taco Bell jingle has lived rent free in my head for 20 years now
pwshguy (mdowst)to
Ask Lemmy@lemmy.world•Do you run a YouTube channel? Tell us about it
link fedilink 9 months ago3·arrow-up Thanks! That’s why it takes so long between my videos coming out. That and I have a full time job, 2 kids, coach my daughter’s soccer team, and suck at video editing.
pwshguy (mdowst)to
Ask Lemmy@lemmy.world•Do you run a YouTube channel? Tell us about it
link fedilink 13·arrow-up 9 months agoedit-2 Mine is definitely a passion project. I make videos on automation using PowerShell. I aim to make videos that teach the thought process and fundamentals and not just step by step tutorials. I’ve been busy moving halfway across the country but plan to start uploading some more once I’m settled in two weeks.
pwshguy (mdowst)OPMto
Powershell•PowerShell Weekly for January 24, 2025
link fedilink 1 year ago1·arrow-up Projects, Scripts, and Modules
- All About the Office 365 for IT Pros GitHub Repository
The Office365ITPros GitHub repository holds over 300 PowerShell scripts showing how to interact with Microsoft 365 and Entra ID. Anyone can contribute to Office365ITPros by forking the code to a copy of the repository and making changes to scripts there. If you want, you can push the changes back to us so that we can consider their inclusion in Office365ITPros. It’s a great example of community in action. - Creating a ConfigMgr (SCCM) Bootable Media – PowerShell Style
Here is a PowerShell script that will create Bootable Media for ConfigMgr. - pipEnv v 0.1.2
Unofficial installer, runner and utilities for pipenv.
Books, Media, and Learning Resources
- PowerShell 101: Creating a Real-World Module: Scaffolding Functions
Learn how to create powerful PowerShell modules from scratch by building a computer inventory tool. Perfect for sysadmins who need custom automation solutions. - PowerShell Universal + dbatools!
Join me as I show off how to use PowerShell Universal to create APIs using dbatools to get at your SQL Instance and databases information.
Community
- PowerShell Changed My Life… with Adam Bacon.
In this episode of the PowerShell Podcast, Andrew catches up with returning guest Adam Bacon. Adam shares an update on his career and shares how PowerShell has played a huge role in helping him accomplish his dream. - The Art and Science of PowerShell Module Development with Fred Weinmann
In this episode of the PowerShell Podcast, we sit down with Fred Weinmann, a prolific PowerShell module creator, to explore his remarkable contributions, including PSFramework, PSModuleDevelopment, PSUtil, and PSFramework.Nuget. Fred shares insights on developing impactful solutions, such as the KRBTGT module and the evolution of module development in large-scale environments.
Events
- PowerShell + DevOps Global Summit 2025
April 7-10, 2025 Bellevue, WA
- All About the Office 365 for IT Pros GitHub Repository
pwshguy (mdowst)OPto
Programmer Humor•I started the day so optimistic
link fedilink 1 year ago2·arrow-up No Azure DevOps automatically increments it every time you run the pipeline.
Just looking at it from the point of view of making the script more portable and easier for someone else to run, there are a few things I would address.
The first is the
Write-Hostcommands all over the script. I would recommend converting those toWrite-Verbose. Here is a great explanation when to useWrite-Hostvs other outputs.There are also numerous
Write-Outputcommands in the script. Anything sent to theWrite-Outputwill be returned to the calling console. If you need to take additional actions based on the results of this script, this could cause issues. You can run into problems with theNew-Itemcommands in there too, as they will produce output. You might consider saving them to a variable or piping toOut-Null.Also, there is no need to call exit and set an exit code in the way you are. If you want to write and error but have the script continue you can use,
Write-Error. If you want the processing to terminate then usethrow. Doing it this way will allow PowerShell’s built-in error handling to take care of the exit codes. It will also give you greater flexibility with using Error Action Preferences and using try/catch statements.Finally, you have a path hardcoded for the workingDir. I would suggest making this a parameter or using an environment variable as this will make it more portable. Also, when creating the log variable, you will want to use the Join-Path cmdlet instead of just joining strings.
pwshguy (mdowst)OPto
Programmer Humor•I started the day so optimistic
link fedilink 1 year ago4·arrow-up This one in particular takes around an hour to run. It deploys a bunch of resources to Azure and runs a all of our integration tests. It does a complete wipe and redeploy each time, so it takes a while. Fortunately, this pipeline is only run as a final test before prompting to production, so normally I only run it once a month or so. While it’s running I’ll work on my pull requests, release notes, closing user stories, etc.
pwshguy (mdowst)OPto
Programmer Humor•I started the day so optimistic
link fedilink 1 year ago3·arrow-up That’s why half of my pipelines are just scripts now, so I can run large chunks of them locally. But yeah, commit, test, commit, test, commit, test drive me insane.
pwshguy (mdowst)OPMto
Powershell•PowerShell Weekly for September 27, 2024
link fedilink 1 year ago1·arrow-up Yes, there is oh-my-posh
pwshguy (mdowst)OPMto
Powershell•PowerShell Weekly for August 23, 2024
link fedilink 2 years ago1·arrow-up Community
- Kubernetes is Easy with Anthony Nocentino
In this episode of the PowerShell Podcast, we sit down with Anthony Nocentino, a Senior Principal Field Solution Architect at Pure Storage, to dive deep into the world of Kubernetes. Anthony breaks down what Kubernetes is and how it fits into the modern IT landscape. We explore his fascinating career journey, from consulting and SQL Server to educating the masses on Kubernetes and Linux. Anthony also shares invaluable insights on becoming a force multiplier in your career and the critical role of mentorship and offers sage advice for anyone looking to elevate their professional path. - PSSaturday Karlsuhe Call for Speakers
We are excited to announce that we are looking for speakers for the upcoming PSSaturday in Germany this November! Whether you’re a first-time speaker or an experienced presenter, we welcome you to share your ideas. If you have an interesting topic and are willing to speak for up to 45 minutes, we want to hear from you.
- Kubernetes is Easy with Anthony Nocentino
pwshguy (mdowst)OPMto
Powershell•PowerShell Weekly for August 23, 2024
link fedilink 2 years ago1·arrow-up Projects, Scripts, and Modules
- PowerShell - IntelliJ IDEs Plugin
Provides PowerShell code completion and script execution support for IntelliJ IDEs.
Books, Media, and Learning Resources
- Build a Superfast Research Assistant using PowerShell and AI
In this episode, I’ll show you how to combine PowerShell with AI to automate tasks, chat with your data, and build intelligent agents—all within your console and scripts. - Interactive Data at Your Fingertips: PowerShell AI Converts Data to Interactive HTML
Transform your data with PowerShell and AI. In this video, Doug Finke, a 15x Microsoft MVP, shows how to use the PSAI module to convert Excel and CSV files into interactive HTML pages. You’ll learn how to sort and interact with your data directly in your browser using the newConvertTo-InteractiveHTMLfunction. Doug walks through generating HTML tables with sortable columns and customizing them using AI. Whether you’re managing large datasets or need a quick way to visualize your data, this tutorial will guide you through the process. Install the PSAI module and start making your data more dynamic. - How To PowerShell Code in Docker Containers
In this video, we guide you through the process of installing and running Docker using PowerShell on Windows. Whether you’re a beginner or an experienced developer, this step-by-step tutorial will help you get Docker up and running quickly and efficiently.
- PowerShell - IntelliJ IDEs Plugin
pwshguy (mdowst)to
Piracy@lemmy.ml•Probably my first piracy experience (it was great)
link Englishfedilink 2 years ago11·arrow-up I remember before scrambling they just put blocks that prevented you from going to certain channels. I somehow figured out if you ran the cable box through the VCR first and put it on channel 2 while the TV was still on 3, it would shift all the channels down one. Cinemax was channel 14, which our box just would not go to. But it would go to 13, so doing my little trick teenage me got to watch a lot of skinamax.
pwshguy (mdowst)OPMto
Powershell•Monitor Your Network with PowerShell [OC]
link fedilink 2 years ago2·arrow-up It took me longer than I would have liked, but I did finally get the next video uploaded. I hope you enjoy it as well.
pwshguy (mdowst)OPMto
Powershell•PowerShell Weekly for July 12, 2024
link fedilink 2 years ago1·arrow-up Projects, Scripts, and Modules
- 365AutomatedLab and new companion module coming soon
365AutomatedLab and new companion module coming soon I promise I haven’t forgotten about 365AutomatedLab, but I’ll be honest after Microsoft made the announcement of no more new Dev tenants it hurt a bit as I know how useful they are on learning and testing features and PowerShell without hurting your production environment. - How to Create SharePoint List & Add Columns Using PnP PowerShell?
Recently, I developed one Power Apps application that needed a SharePoint list data source. Before running the application, the client must create the specific SharePoint list on their site. So, I wrote a Power Shell script to create the SharePoint list along columns to avoid mistakes when creating it manually. - PowerShell-Yayaml v0.5.0
What’s changed… - PSDates v1.0.4
Tons of new stuff added including calculating sunrise and sunset time.
Books, Media, and Learning Resources
- PowerShell Conference EU 2024 - Full playlist
Check out all the sessions from this years PowerShell Conference EU.
Community
- Behind the Scenes at PSConf.EU: Harm Veenstra’s Experience and Insights
In this episode of the PowerShell Podcast, we sit down with Microsoft MVP Harm Veenstra to discuss his exciting experiences at PSConf.EU, where he attended for the first time and embarked on a new journey into public speaking. Harm shares his thoughts on receiving the prestigious Microsoft MVP award and delves into his recent projects, including creating a TCP/UDP listener for testing firewall ports and using a Pi-hole to block ads on his home network. We also explore his perspectives on automation in the MSP world, the power of Microsoft Graph, and why he hasn’t yet adopted AI tools. Tune in for an engaging conversation filled with insights, tips, and highlights from PSConf.EU! - Write Code, Write Blogs: Lessons with Brock Bingham
In our latest Powershell Podcast episode, we chat with Brock Bingham. We explore his transition from sysadmin to writer and his viewpoint of coding as creative problem-solving. Brock also shares insightful blogging tips and advises against the pitfalls of comparison. A must-listen for aspiring PowerShellers. (plz create a blog and share your learnings for future you)
- 365AutomatedLab and new companion module coming soon



It’s funny that you mention that because I’m already working on a solution around that. I’m working on a solution that will periodically backup the contents from your PSReadline history and save it in a searchable format. Then have a cmdlet like
Search-History "whatever keywords". I’d like to make it a daemon so it could record estimated times and what console it executed from. I know it would save me a ton for searching.Also, my one huge-ass OneNote was the reason for me creating this. I found there were a few I kept going back for regularly and wanted a quicker way to get them. Glad to know I’m not the only one.