Page 1 of 1

Popup Input Prompts

Posted: Wed Sep 11, 2019 4:53 am
by plautodfl
Is there anyway to pin the input windows to the main app?
We are having trouble with the main app launching and the input window being on another monitor.

$script:ComputerName = Read-Host -Prompt "Input The Machine Name That Needs Cleaning"
Write-Host "Checking Computer Name Against Active Directory.. Hang ..."

Product: PowerShell Studio 2019 (64 Bit)
Build: v5.6.167
OS: Windows 10 Enterprise (64 Bit)
Build: v10.0.17763.0

Re: Popup Input Prompts

Posted: Wed Sep 18, 2019 11:52 am
by brittneyr
From what I see from what you are currently doing, there is no option available to you with how you are currently getting the user information. Windows is determining the location the the input window pops up. You can always make another form to get the user information and then set the StartPosition.