mdgrs
mdgrs.bsky.social
mdgrs
@mdgrs.bsky.social
Hobby Coder who loves PowerShell💻 GameDev at work🕹️

https://mdgrs.hashnode.dev/
https://github.com/mdgrs-mei
In the next release of WinUIShell, I'm sorting out multi-threaded event callbacks. This example shows three concurrent progress bars with a pause button for each:

github.com/mdgrs-mei/Wi...

I hope the code feels much easier than WPF in PowerShell🙏
August 31, 2025 at 1:43 PM
"List → Fuzzy Search → Run" is a super powerful interface for terminal users.

This post has the least view count in my blog, but the content is not the worst IMO😅. "Using PowerShellRun as an Interactive Selector":
mdgrs.hashnode.dev/using-powers...
July 30, 2025 at 1:13 PM
WinUIShell v0.5.0 has been published including the XamlReader support. Now you can create a WinUI 3 window by loading XAML similar to WPF in PowerShell.

github.com/mdgrs-mei/Wi...

Next, a bit of multi-threading support and full API implementation using source generator.
July 26, 2025 at 1:45 PM
This is how I open a file to edit with PowerShellRun.

Ctrl+Shift+Space: Focus on WindowsTerminal
Ctrl+Space: Open PowerShellRun
Type words and Enter: Navigate folders

How do you open a file on Windows?
July 6, 2025 at 12:28 AM
In the next release of WinUIShell, basic support for NavigationView will be added.

Next up, self-contained release and XAML support.

github.com/mdgrs-mei/Wi...
June 7, 2025 at 1:51 AM
Do you know what bound and unbound script blocks are in PowerShell?

I did not know but they are sometimes talked about in GitHub issues or in the community.

If you are interested, check out my blog post from the past:
mdgrs.hashnode.dev/scriptblock-...
April 29, 2025 at 1:11 PM
This is not new but in case you didn't know. In #PowerShell, you can let cats, dogs or cyclists run. They notice PowerShell errors.
Giraffes? maybe possible🦒.

github.com/mdgrs-mei/Dy...
April 20, 2025 at 1:38 AM
I like the interactivity of #PowerShell so much. That's why I designed WinUIShell not to block the terminal even after opening a window.

github.com/mdgrs-mei/Wi...

I still need to add a lot to this module but it's amazing if you find this (or PowerShell) interesting.

Enjoy PowerShell😉
April 15, 2025 at 1:36 PM
ToggleSwitch and ProgressRing have been added in WinUIShell v0.1.0🎉

github.com/mdgrs-mei/Wi...

Note that event handlers are single-threaded but non-blocking. You can just write:

$button.AddClick({
$ring.Value = 0
Do-Something
$ring.Value = 50
Do-Another
$ring.Value = 100
})
April 7, 2025 at 1:26 PM
Made good progress with my new #PowerShell module.

WinUI 3 will be brought to the PowerShell community soon! hopefully..🙏
March 13, 2025 at 1:59 PM
If you prefer terminal interface, there is also Power*Shell*Run with winget integration😉

The new PowerToys Run looks really cool though.
February 16, 2025 at 12:57 AM
Thanks! It worked!
January 23, 2025 at 1:03 PM
The power of combining two PowerShell modules, PSBluesky and PoshTaskbarItem:

github.com/jdhitsolutio...

The icon shows the number of unread notifications as a badge. If you click the icon the notifications page will be opened by your browser.

Please Like ♥️ this post to test if it really works😁!
January 23, 2025 at 12:55 PM
PSResourceGet utility has been implemented in PowerShellRun v0.12.0📦

github.com/mdgrs-mei/Po...

You can install, update and uninstall PowerShell modules using PSResourceGet through TUI. You'll notice that you have some stale modules that have multiple versions installed. Let's clean them up!
January 12, 2025 at 2:21 PM
If you are a PowerShell and cycling enthusiast, this one might be a better choice😉

https://gist.github.com/mdgrs-mei/11121aceb7e147dbe6ab4ab8d2abcd35?permalink_comment_id=4619822#gistcomment-4619822
July 5, 2023 at 2:20 PM
If you love PowerShell and cats, this is for you. Two cats pass by sometimes on the terminal tab. They notice PowerShell errors and stop walking.

https://gist.github.com/mdgrs-mei/11121aceb7e147dbe6ab4ab8d2abcd35?permalink_comment_id=4619794#gistcomment-4619794
July 5, 2023 at 2:14 PM