I have some powershell scripts in my task sequences in the MDT server. Most of them are working except one that involves calling the -filepath parameter. The filepath is point to the scripts folder of MDT to retrieve a file. However, it kept failing because the deployment could not find the path. I tried put the actual pathname as well as the variailable e.g. "%scriptroot%\filename" and they failed the same.
Any idea?
Thanks