Showing results for Array - Scripting Blog [archived]

Dec 2, 2014
0
0

PowerTip: Use PowerShell to Remove an Item from an Array

Doctor Scripto
Doctor Scripto

Summary: Use Windows PowerShell remove an item from an array. How can I remove an item from an array?Use the ArrayList class, which has the Remove() method (instead of using System.Array,            which does not have this method):PS > $ArrayList = New-Object System.Collections....

Scripting Guy!Windows PowerShellPowerTip