Open erichexter opened 7 years ago
It would be useful if there was a -Running flag parameter to do operations like feed the running containers to the stop-container command. Without having to pipe the output to a where-object state -eq running.
something like this would be nice.
Get-Container -Running | Stop-Container Get-Container -Stopped | Remove-Container
What about a single parameter -State with a parameter set for the different values.
-State
It would be useful if there was a -Running flag parameter to do operations like feed the running containers to the stop-container command. Without having to pipe the output to a where-object state -eq running.
something like this would be nice.
Get-Container -Running | Stop-Container Get-Container -Stopped | Remove-Container