I was using powershell Arraylist to hold the list generated by splitting a string. When i try to remove the first item in the list using the below code the enitre list is going null.
[System.Collections.ArrayList]$teststringlist=New-Object System.Collections.ArrayList
$teststring ="Test1,Test2,Test3"
$teststringlist = $teststring.Split(",")
$teststringlist=$teststringlist.RemoveAt(0)
How i can remove the first item at Index 0 of the Arraylist in powershell