PowerShell&FileNotFoundException:哪个文件?

我试图按照http://technet.microsoft.com/en-us/library/gg697165.aspx中的说明,但我的PowerShell脚本不断抛出exception。 它引用FileNotFoundException …但我不知道哪个文件找不到。

有没有人有这方面的经验?

C:\Program Files\Windows Server\Bin>powershell .\ConfigureRDP.ps1 Exception calling "RunTasks" with "2" argument(s): "IWorkerConfig.dll" At C:\Program Files\Windows Server\Bin\ConfigureRDP.ps1:3 char:1 + $scheduler.RunTasks("ConfigureRDPTaskList", "ConfigureRDPTaskStatus.xml") | out- ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [], MethodInvocationException + FullyQualifiedErrorId : FileNotFoundException The configuration is complete. Check file " " for result. C:\Program Files\Windows Server\Bin>