Uh oh!
There was an error while loading. Please reload this page.
This repository was archived by the owner on Apr 28, 2018. It is now read-only.
This repository was archived by the owner on Apr 28, 2018. It is now read-only.
There was an error while loading. Please reload this page.
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