以下為示例圖片
Default Apps裏已把 ".ps1"與 "Powershell" 作綁定.但是當設置Task Scheduler執行的時候,依舊會詢問選擇該用什麽程序執行.
匿名
Dear Support Teammates:
OS Name: Microsoft Windows Server 2022 StandardEndFragment
EndFragment
Description:
I've set .ps1 files to open with PowerShell by default in Default Apps (file association). However, when scheduling the .ps1 file in Task Scheduler, it keeps asking "How do you want to open this file?" instead of executing it directly with PowerShell.EndFragment.
Default Apps裏已把 ".ps1"與 "Powershell" 作綁定.但是當設置Task Scheduler執行的時候,依舊會詢問選擇該用什麽程序執行,
請問有什麽方法能讓ps1文件作爲周期性的任務,自動執行? 感謝🙇
Windows for home | 其他 | 協助工具
鎖定的問題。 此問題已從 Microsoft 支援服務社群移轉。 您可以對其是否有幫助進行投票,但無法對問題新增註解或回覆,或進行追蹤。