When elevating a powershell script to run as an admin, why does read-host accept keyboard input before the user is prompted?

前端 未结 0 1359
悲&欢浪女
悲&欢浪女 2021-01-03 09:10

I\'m running a PS 5.1 script that automatically elevates to run with admin privileges. The first part of the script runs a 3-minute check to make sure the environment is set

相关标签:
回答
  • 消灭零回复
提交回复
热议问题