Processing each powershell array value
Using the example in variable assignment
And you want to do something to each variable, you may do the following:
1foreach ($i in $container_ids) {
2 $i
3}
So for instance, you want to delete all the containers:
1foreach ($i in $container_ids) {
2 docker rm $i
3}