Fred's Avatar

Fred

@psfred.bsky.social

PowerShell enthusiast, Bartender, Cloud Solution Architect @Microsoft

310 Followers  |  13 Following  |  132 Posts  |  Joined: 16.07.2023  |  2.0655

Latest posts by psfred.bsky.social on Bluesky

Error Handling - A Mystery in Red - Fred Weinmann - PSConfEU 2025
YouTube video by PowerShell Conference EU Error Handling - A Mystery in Red - Fred Weinmann - PSConfEU 2025

That pipeline execution also has some really heavy impact on how errors need to be processed - specifically, to not only have deadly errors, but also errors that the pipeline can survive, if you so chose.
Covered that part in this conference talk:
www.youtube.com/watch?v=ZFI8...

27.09.2025 12:33 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Designing Commands for the PowerShell Pipeline - Friedrich Weinmann - PSConfEU 2025
YouTube video by PowerShell Conference EU Designing Commands for the PowerShell Pipeline - Friedrich Weinmann - PSConfEU 2025

The starting point is to look at how the pipeline gets executed and what that means for output. I think I did a fair job covering that in this talk at this year's PSConfEU:
www.youtube.com/watch?v=Q19n...

27.09.2025 12:33 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Worth it, as far as I am concerned, but I'm severely biased here, having gone through the process more than a decade ago.
A lot of it comes down to the pipeline and how it is executed.
Now, I wont judge if you are happy to dislike PowerShell and leave it at that.
In case you want to delve deeper ...

27.09.2025 12:33 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Can definitely see why. On top of the verbosity, it breaks so many expectations you bring from other languages, it just feels unintuitive.
There's a reason for that - a good one, IMO - but until you wrap you head around that, you get the stick, but not the carrot.

27.09.2025 12:33 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Preview
PSFramework.NuGet | PSFramework Project Getting the right PowerShell module to right location can be a lot more challenging that it should be.

Heya #powershell folks,
tired of struggling to get your modules deployed to where you need them?
Of needing to enable PackageManagement tools?
Want to simplify configuring internal repositories? Authenticating to said repos?
I just might have the thing for you:
psframework.org/docs/PSFrame...

26.09.2025 18:55 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
PowerShell Select-Object 101 and Beyond with Andrew Pla & Fred Weinmann - YouTube Can't get enough PDQ? Subscribe and enable notifications! β€’ Join us on Discord!: https://discord.gg/pdq β€’ Our blog: https://www.pdq.com/blog/ β€’ PDQ Connect...

Going live at 2 PM Eastern for #PowerShell Wednesday. I’ll give a quick, practical primer on Select-Object
what it is, when and how to use it.

@psfred.bsky.social follows with Select-PSFObject to show how to make selection even more powerful. Join live or catch the VOD.

17.09.2025 15:38 β€” πŸ‘ 8    πŸ” 4    πŸ’¬ 0    πŸ“Œ 0

So I went ahead and implemented (yet another) level-less system.
Been many years, and you learn _a lot_ about systems, balance, and player motivations as you go.
Especially when you factor in the world and how the things the system describes need to (at least vaguely) make sense in it ...

13.09.2025 12:27 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Playing a mage throwing Fireballs? Sure, no problem.
Playing the priest of a God of thievery - well, have fun multiclassing priest/rogue.
Every lost level spent pursuing your flair choice punishes the player with (comparative) weakness.

13.09.2025 12:27 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

A game night with friends playing Pathfinder. I love myself a good, long-term progression, I'm ok with a system-heavy approach.
But the way progression worked - level-gated - means it strongly limited the fantasies you can play to the type the designers intended.

13.09.2025 12:27 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Preview
GitHub - FriedrichWeinmann/InformationProtection: Client Module implementing the Microsoft Information Protection SDK Client Module implementing the Microsoft Information Protection SDK - FriedrichWeinmann/InformationProtection

Hi #powershell folks,
got another module shipped today, and this one is for our #purview / Microsoft Information Protection folks:

Wrapping the MIP SDK, this module allows bulk-labeling files - or scanning files for their label status:
github.com/FriedrichWei...

12.09.2025 18:34 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Post image

A quick example on how it works and my attempt to make it convenient :)

11.09.2025 17:51 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
GitHub - FriedrichWeinmann/EntraAuth.Graph: Graph API tools based on EntraAuth Graph API tools based on EntraAuth. Contribute to FriedrichWeinmann/EntraAuth.Graph development by creating an account on GitHub.

Hi #powershell folks,
Just shipped the next version of my EntraAuth.Graph module, a #graph specific extension of my EntraAuth authentication client, adding batch requests in a convenient format:
github.com/FriedrichWei...
Now with improved matching of input to result.

11.09.2025 17:24 β€” πŸ‘ 6    πŸ” 3    πŸ’¬ 1    πŸ“Œ 0

PS: I have absolutely no idea how to deal with pictures, Send-Help πŸ˜‡

Seriously, all feedback welcome, looking to make the docs as accessible, discoverable and useful as possible.

02.09.2025 22:33 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
PSFramework Project The project dedicated to empowering your PowerShell scripting.

Heya #powershell people,
with the new version of #psframework released, I've decided to take a look at the documentation. The old site ... well, it deserved some love.
Also a full redesign into something useful.
psframework.org
The docs should now actually be navigable πŸ˜…

02.09.2025 22:33 β€” πŸ‘ 7    πŸ” 1    πŸ’¬ 1    πŸ“Œ 0

#powershell #psframework v1.13.406
Exhibit 3: Hashtables are great, but they could be so much better!
How about having a default value? Or just passing through unknown keys ...

psframework.org/documentatio...

01.09.2025 17:15 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

#powershell #psframework v1.13.406
Exhibit 2: Resolving Paths with maximum convenience and minimum effort:
psframework.org/documentatio...

(Not exactly a fully new feature, but the number of options doubled)

31.08.2025 13:18 β€” πŸ‘ 1    πŸ” 1    πŸ’¬ 0    πŸ“Œ 1
Training Completers The project dedicated to empowering your PowerShell scripting.

Hi #powershell folks,
shipped the latest version of #psframework - v1.13.406
With a wide range of features, improvements and fixes.

Exhibit 1: Tab Completion that can learn
(Either by command or from user input)
psframework.org/documentatio...

30.08.2025 13:06 β€” πŸ‘ 4    πŸ” 1    πŸ’¬ 0    πŸ“Œ 1
- YouTube
Enjoy the videos and music you love, upload original content, and share it all with friends, family, and the world on YouTube. - YouTube

🩸 Error Handling: A Mystery in Red – @psfred.bsky.social

Why do #PowerShell scripts fail silently?
⚠️ Terminating vs non-terminating exceptions
⚠️ The quirks of throw
⚠️ Best practices for reliable error handling

🎟️ Join #PSConfEU2026 in Wiesbaden β†’ psconf.eu

15.08.2025 13:01 β€” πŸ‘ 4    πŸ” 3    πŸ’¬ 0    πŸ“Œ 0
- YouTube
Enjoy the videos and music you love, upload original content, and share it all with friends, family, and the world on YouTube. - YouTube

πŸŽ‰ That’s a wrap!
We close the #PSConfEU2025 video series with:
πŸš€ Community demos
πŸ† Fasten the Code winners
πŸ‘‹ Closing session
πŸ‘ Thanks to ALL who made this edition unforgettable!

πŸ“… Next stop: Wiesbaden 2026 🎟️ Tickets β†’ psconf.eu

05.08.2025 05:00 β€” πŸ‘ 7    πŸ” 2    πŸ’¬ 0    πŸ“Œ 0
Jinnai and the Bugrom AMV
YouTube video by KagatoAMV Jinnai and the Bugrom AMV

Imagine having this song start running at persistent max volume as your bosses passes your desk ... πŸ˜‡ (and you can't find the app doing it)
www.youtube.com/watch?v=ypGW...

04.08.2025 19:39 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
- YouTube
Enjoy the videos and music you love, upload original content, and share it all with friends, family, and the world on YouTube. - YouTube

🩸 Error Handling: A Mystery in Red – @psfred.bsky.social
Why do #PowerShell scripts fail silently?
⚠️ Terminating vs non-terminating exceptions
⚠️ The quirks of throw
⚠️ Best practices for reliable error handling

🎟️ Join #PSConfEU2026 in Wiesbaden β†’ psconf.eu

04.08.2025 10:00 β€” πŸ‘ 4    πŸ” 2    πŸ’¬ 0    πŸ“Œ 0
- YouTube
Enjoy the videos and music you love, upload original content, and share it all with friends, family, and the world on YouTube. - YouTube

⚑ Entra Authentication 101 – @psfred.bsky.social (#PSConfEU 25)
Microsoft API auth can be a maze: app regs, delegated vs app perms, secrets, certs, managed identities…
Fred shows you how to do it right with #PowerShell
🎟️ Join us at #PSConfEU2026: psconf.eu
#EntraID #MSGraph

01.08.2025 15:00 β€” πŸ‘ 3    πŸ” 3    πŸ’¬ 0    πŸ“Œ 0
Preview
GitHub - PowershellFrameworkCollective/PSFramework.NuGet: A Wrapper around the PowerShellGet modules A Wrapper around the PowerShellGet modules. Contribute to PowershellFrameworkCollective/PSFramework.NuGet development by creating an account on GitHub.

God Bless @psfred.bsky.social for Install-PSFModule with that cheeky -ComputerName parameter!

My favourite management server fell over and had to get reverted to a old snapshot (many bad practices there)

But quickly recovered and Friday saved thanks to this bad boy! πŸ’ͺπŸ‘

github.com/PowershellFr...

01.08.2025 16:22 β€” πŸ‘ 1    πŸ” 1    πŸ’¬ 0    πŸ“Œ 0
Post image

PSConfEU turns 10! πŸŽ‰

Our 2026 logo celebrates this milestone with gold accents, the number 10 hidden in #Wiesbaden, and 3 fleur-de-lis from the city’s crest.

Same purple. New city. Same world-class content.

#PSConfEU # #PowerShell #automation #IT #conference #Germany

29.07.2025 10:45 β€” πŸ‘ 10    πŸ” 5    πŸ’¬ 0    πŸ“Œ 1
- YouTube
Enjoy the videos and music you love, upload original content, and share it all with friends, family, and the world on YouTube. - YouTube

#PowerShell tip from #PSConfEU 2025 🧡
Are your functions truly pipeline-friendly?

@psfred.bsky.social showed how to:
βœ” Use ValueFromPipeline correctly
βœ” Embrace Begin/Process/End
βœ” Avoid output arrays
βœ” Use steppable pipelines for perf

🎟️ Tickets for 2026 β†’ psconf.eu

21.07.2025 15:00 β€” πŸ‘ 12    πŸ” 6    πŸ’¬ 0    πŸ“Œ 0
Preview
GitHub - FriedrichWeinmann/EntraAuth Contribute to FriedrichWeinmann/EntraAuth development by creating an account on GitHub.

Hi #powershell folks,
proud to announce the latest version of EntraAuth, my Entra token generator & request handler, now adding support for federated credentials:

Connect-EntraService -ClientID $clientID -TenantID $tenantID -Federated

github.com/FriedrichWei...

11.07.2025 20:31 β€” πŸ‘ 3    πŸ” 1    πŸ’¬ 0    πŸ“Œ 0
Extending AutomatedLab with AutomatedLab.Utils and PowerShell For the past several months (since my switch from MacOS back to Windows at work), I’ve been using AutomatedLab and Hyper-V to build ephemeral VMs to test various scenarios as part of my work. What is ...

In my latest blog article, I explore a couple of ways that I use #PowerShell to add flexibility to my use of AutomatedLab. If you're an AutomatedLab user or want to learn more about it, the post links to my friend @dotdot.horse's fantastic AutomatedLab introductory article.

Read here:

11.07.2025 00:23 β€” πŸ‘ 12    πŸ” 3    πŸ’¬ 1    πŸ“Œ 1

An absolutely amazing #powershell tool, saving you weeks of labor if you need an on-prem or hybrid lab.
Another great aspect: It gives you easy access to a lot of products without forcing you to learn how to deploy them!

10.07.2025 21:48 β€” πŸ‘ 6    πŸ” 1    πŸ’¬ 0    πŸ“Œ 0
- YouTube
Enjoy the videos and music you love, upload original content, and share it all with friends, family, and the world on YouTube. - YouTube

πŸ“¦ PowerShell module chaos?
PSFramework.NuGet brings clean, reliable package management β€” even offline.
Friedrich Weinmann shared how at #PSConfEU 2025.
#PowerShell #PackageManagement #Automation youtu.be/iMSOVwmBXrk?si=L-Q...

05.07.2025 08:00 β€” πŸ‘ 3    πŸ” 4    πŸ’¬ 0    πŸ“Œ 0

Not one of the to sessions I was originally accepted to give, but a session slot opened up spontaneously and can't let those go to waste, can we?
Or a chance to brag about my toys ... πŸ˜‡

30.06.2025 17:51 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

@psfred is following 13 prominent accounts