[英]Avoiding permissions popups in PowerShell script
I have a PowerShell script that inadvertently triggers popups asking the user for permission. 我有一个PowerShell脚本,该脚本无意间触发了向用户询问权限的弹出窗口。 For example, in the code:
例如,在代码中:
$appt = $outlook.CreateItem("olAppointmentItem")
....
$appt.Send()
I have this PowerShell script running in a server that creates appointments, and the popups serve no purpose. 我在创建约会的服务器中运行此PowerShell脚本,并且弹出窗口没有作用。 How can I run my script without having Windows ask permission?
如何在没有Windows许可的情况下运行脚本?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.