I was wondering if you could help me on this one. I have an array of objects in powershell containing this:
$array = @(1,2,3,4,5)
so $array
gives me this:
1
2
3
4
5
now i would like to add in the number 6 on the position $array[3],
so that the output would be:
1
2
3
6
4
5