Popup for get-credential not focused (Powershell) #496
Open
Description
Expected Behavior
The pop up for get the credential should be focused as high priority. When running the script trhough another powershell script, but it works as expected when run directly from CMD.
I think it is good to mention that this script is being run from Task scheduler from windows.
Actual Behavior
The pop up for credential should be focused even when The acript that contains The commands is run trhough a other powershell script.
I think it is good to mention that this script is being run from Task scheduler from windows.
Steps to reproduce
- Create two powershell script.
- In one of them write the commmand for get-credentials
- On the other one call the script that contains the com and.
- On powershell run the script that contains the call. The pop up will be on front of all screens
- Create a scheduler task to run the script. The pop up will be on the background.
Diagnostic Report
I don't know how to create it.
Crash Report
I dont have any crash report.