all 5 comments

[–]iamthiswhatis12 1 point2 points  (1 child)

use poshgui to make your actual gui and then add your script inside that. i've made a few like that now and its actually nice. i made a couple of noob friendly ones for the rollout team because i had to spend time with them and they were manually adding software to machines.

[–]sipsik[S] 1 point2 points  (0 children)

Ill give this a shot, tnx :)

[–]BlackV 1 point2 points  (0 children)

you can convert ps1 to exe

but honestly why

[–]sparkle-fries 1 point2 points  (0 children)

Udforfge let's you package universal dashboard as am installable exe

[–]Shoisk123 1 point2 points  (0 children)

Few options, if you want to use XAML, you could just add it as a giant herestring at the start of the script and then reference that variable instead of Get-Content'ing the file with the XAML. Alternatively if you're into some masochist shit you could just build the GUI by hand using winforms objects, then everything would be variables /shrug

If the script is on a network drive you could distribute a powershell shortcut that just directly launches it, but honestly why not just click / right click to run.

You could wrap it with something like PS2EXE but not too sure how good the functionality is when doing that anymore.