I can display a simple Visual Basic inputbox from a PowerShell script like this:
$null = [reflection.assembly]::loadwithpartialname("microsoft.visualbasic")
$input = [microsoft.visualbasic.interaction]::inputbox($question, "bla", $text)
However, the inputbox window does not get focus which remains with the PowerShell window.
Is there a way to give focus to the inputbox window?