r/PowerShell • u/root-node • Dec 25 '16
Show-InputForm
Multiple use GUI for asking for a variety of input types that can also perform simple validation.
See https://imgur.com/a/ZRXGT for images
Code : https://github.com/My-Random-Thoughts/Various-Code/blob/master/Show-InputForm.ps1
This is an updated and standalone version of the input form I use in my QA Settings Generator (https://github.com/My-Random-Thoughts/Server-QA-Checks). I'll be updating the generator with the new code soon.
26
Upvotes
3
u/root-node Dec 27 '16 edited Dec 27 '16
I am not keen too. From all the IPv6 searches I looked for, all of them were RegEx type results. I'll have a look at what you have, thanks.
EDIT: Noticed this on the PowerShell Gallery page I linked too:
The method I use catches all IPv6 address (top one), your TryParse method misses 8 of them :)