I have the following PowerShell script running on two different servers, one running VC v8.5.5 and the other v9.1.0.
Remove-Item -Recurse -Force "c:\Restore\Drive(C)"
Remove-Item -Recurse -Force "c:\Restore\Drive(D)"
Remove-Item -Recurse -Force "E:\Filesets\PL595A"
Remove-Item -Recurse -Force "E:\Filesets\PL595M"
Remove-Item -Recurse -Force "F:\OT570FSETA"
On the 8.5 machine the script works and the folders are deleted. On the 9.1.0 machine, the task runs for a few seconds and then provides an Exit Code of 255. I looked this up in the VC exit codes (https://www.visualcron.com/exitcodes.aspx) and it shows "255 The extended attributes are inconsistent."
What does this mean and what can I do to get this to work?
If I run the script in PS (not using VC) it still works on that machine. It just does not want to work through VC
Edited by moderator
2020-02-21T13:49:21Z
|
Reason: Not specified