Skip to content

How to use the value from a selection input #171

Answered by Windos
serkonda7 asked this question in Q&A
Discussion options

You must be logged in to vote

The unfortunate answer at the moment is that this will only be doable in PowerShell 7.1 and above.

Once I finally get time to work on BurntToast v1.0 it'll be possible in Windows PowerShell and earlier Core versions.

I've not typed it up yet, but here's some demos showing the use of input from the user:

  • Selection Box, shows a follow up toast based on which item was selected. (Video towards the end)
  • Text Box, takes text input and surfaces it in the script. The video for this one is locked inside the PowerShell Summit 2021 event platform for now, I think it'll be public at a later date.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by serkonda7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants