Skip to content
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.

get-container simplified query for Running or Stopped containers #182

@erichexter

Description

@erichexter

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions