我使用具有管理员角色的用户。但是,默认情况下,脚本以UAC模式运行,而不是以管理员身份运行。是否有可能打开PowerShell控制台与PowerShell脚本没有UAC对话框? 我想提升我想要做如下的任务,但它给了我一个需要出席一个对话框: # Get the ID and security principal of the current user account
$myWindowsID =
我试图与厨师管理的Splunk和跨越的一个问题跑采用厨师以编程方式启动时/停止/重启Splunkforwarder服务: The request did not respond to the start or control request in a timely fashion. - ControlService: The service did not respond to the start