Answer by dugas for How to find the indexOf element in ArrayList in PowerShell
You are casting the ArrayList to an array, just remove the cast: $eventList = New-Object System.Collections.ArrayListAlso, you might want to consider using a List<string> instead of an ArrayList:...
View ArticleHow to find the indexOf element in ArrayList in PowerShell
I am trying to find the index of an element from an arraylist using powershell script,however getting the below given errorMethod invocation failed because [System.String[]] doesn't contain a method...
View Article
More Pages to Explore .....