Dealing with long file and path names - Copy-Item

Good Afternoon all,

I have a powershell script that deals with leavers - it utilizes the copy-item cmdlet but occasionally I get a copy error about long file or path names.  Please could you let me know if there is anything I can use or an alternative method to deal with this?

Thanks for any help.

No Data
Reply Children
No Data