I\'ve got a list of files in an array. I want to enumerate those files, and remove specific files from it. Obviously I can\'t remove items from an array, so I want to use an
Probably the shortest version:
[System.Collections.ArrayList]$someArray
It is also faster because it does not call relatively expensive New-Object.
New-Object