Hi everyone, how do I make the PowerShell & β$dirFiles\Invoke-AppDeploy.ps1β
visible on the screen for the user to interact with it?
Iβm getting stuck on the installation in progress please waitβ¦
You want users to be capable to edit a command line that runs elevated.
And you recycled an old post to ask. (You should have just created your own post)
You could try SOMETHING like this:
[void] [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.VisualBasic")
$Default = "`"$dirFiles\Invoke-AppDeploy.ps1`""
#Get user input
$CmdLine = [Microsoft.VisualBasic.interaction]::Inputbox("is this good to run?","Title",$Default)
#Run the input
. $CmdLine