I'm trying this relative simple script but I think I'm not using the break function right.
First, I need to iterate through list 1(pathlist.txt). For every object in list 1, I need to iterate through list2 (hvservers.txt) and apply NTFS permissions to the paths from list1 and add the accounts from list2.
I was really convinced that nested ForEach would need a break.
Thanks for the help.