标签: powershell scheduled-tasks windows-server-2008
我需要通过taskscheduler运行一个简单的PowerShell脚本来备份我的sharepoint服务器场。
当我在shell上复制粘贴命令时,它可以正常工作。
然而,在任务调度程序中,它表示参数不正确。
命令非常简单:
powershell -file "\\10.116.2.12\nasbk02\BKPORTAL\BackupFarm.ps1"
答案 0 :(得分:2)
所有参数必须进入添加参数(可选)框: