WPF UI MessageBox consumable from a PowerShell script? #1270
Unanswered
stamminator
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've been creating some system automation scripts in PowerShell, and sometimes I use
System.Windows.MessageBox
when user action is required.I would love to be able to use a better looking UI. Is
Wpf.Ui.Controls.MessageBox
or any other control available as a slim, standalone PowerShell module? If not, one option that may work would be for me to install WPF-UI nuget package to a central location on my machine and load the assembly from there in my scripts, but this is a heavy solution and much less portable. I could also make a small app that just wraps WPF-UI and passes calls to them, but that's more work than I'm looking to get into.Any recommendations for achieving what I'm going for?
Beta Was this translation helpful? Give feedback.
All reactions