pwshguy (mdowst)
Father, author, blogger, enthusiast of all things PowerShell and automation. http://linktr.ee/mdowst
- 64 Posts
- 16 Comments
pwshguy (mdowst)@programming.devOPto
Battlestations@lemmy.world•My temp set up while I wait for the movers with my furniture
3·7 months agoAn 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)@programming.devto
Ask Lemmy@lemmy.world•Do you run a YouTube channel? Tell us about it
3·8 months agoThanks! 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)@programming.devto
Ask Lemmy@lemmy.world•Do you run a YouTube channel? Tell us about it
13·8 months agoMine 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)@programming.devOPMto
Powershell@programming.dev•PowerShell Weekly for January 24, 2025
1·1 year agoProjects, 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)@programming.devOPto
Programmer Humor@programming.dev•I started the day so optimistic
2·1 year agoNo Azure DevOps automatically increments it every time you run the pipeline.
pwshguy (mdowst)@programming.devMto
Powershell@programming.dev•Looking for feedback on my script
1·1 year agoJust 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)@programming.devto
Piracy@lemmy.ml•Probably my first piracy experience (it was great)English
10·2 years agoI 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)@programming.devOPto
Programming@programming.dev•Most and Least Verbose Programming Languages
4·2 years agoFor some reason their API would not return anything for assembly. I was curious to see where it would rank too,
pwshguy (mdowst)@programming.devOPto
Programming@programming.dev•Most and Least Verbose Programming Languages
7·2 years agoApparently it due to an issue with Kotlin - https://github.com/code-golf/code-golf/issues/151#issuecomment-1126266250
pwshguy (mdowst)@programming.devto
Asklemmy@lemmy.ml•What book would you recommend to explain to someone what you do for a living?
3·3 years agoThe book I wrote. When I first talked with the publisher he asked, “what skills would you look for in someone who wants to do your job?” And that’s the premise I stuck with writing it.
pwshguy (mdowst)@programming.devto
Programmer Humor@programming.dev•Firewall Alignment ChartEnglish
1·3 years agoThat’s pretty similar with what happened with me and the train. Kept getting random drops from a plant. I went out to investigate and everything tested perfect and the network was staying up. That was until a freight train rolled by. Turns out AT&T had run the line by shoving a piece of PVC through the gravel between two cross-ties, then running the cable through it.
pwshguy (mdowst)@programming.devto
Programmer Humor@programming.dev•Firewall Alignment ChartEnglish
2·3 years agoI’ve actually had an excavator take out my network. I’ve also had networks taken out by forklift, train, and a semi-truck towing three other semi-trucks.
pwshguy (mdowst)@programming.devto
Programming@programming.dev•What are some examples of xkcd 2347?English
0·3 years agoBasically every Windows sysadmin is indebted to Mark Russinovich and SysInternals. Fortunetly, PowerToys has come a long way because I’m pretty sure sysinternals haven’t been updated since Windows XP.




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.