jas wrote:
Quote:
> I came across very strange behaviour in copy-item today. When copying a
> read-only file repeatedly from the network to a local folder the first
> copy works but the second copy fails, however the third copy works. The
> exact same copy-item test using local C: paths works fine. Has anyone
> else seen this behaviour before?
I'll try it out tomorrow. Just for fun, I'll also put in a start-sleep
-seconds XX on each run if I see the same failures.
Marco
--
Microsoft MVP - Windows PowerShell
http://www.microsoft.com/mvp
PowerGadgets MVP
http://www.powergadgets.com/mvp
Blog:
http://marcoshaw.blogspot.com