我想使用 powershell 命令 Stop-IISSite 但我不想有确认对话。
Stop-IISSite -Name "WebSiteName"
“-Confirm”参数在我的测试中不起作用,是否有任何选项可以强制停止?
iis powershell
iis ×1
powershell ×1