Skip to content

HINT: How to use Docker-pretty-ps with Powershell #31

@hurr1k4ne

Description

@hurr1k4ne

If you want to use dpps with powershell one way is to use an alias.

i installed it with pip install docker-pretty-ps and added an alias to my profile.

function DPrettyPS {
    $expression = "python C:\ProgramData\scoop\apps\python\current\Scripts\docker-pretty-ps "+$args[0]
     Invoke-Expression $expression
}
Set-Alias dpps DPrettyPS -Option AllScope

now you can use it with the alias dpps and all available parameter like dpps -s

image

Hope it helps someone.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions