Sign inSign up

embrasure/powershell

By embrasure

•Updated about 10 years ago

A utility container for running PowerShell.

Image
1

1.1K

embrasure/powershell repository overview

CircleCI license

⁠About powershell

A utility Docker container for running PowerShell.

⁠Powershell

PowerShell is a cross-platform (Windows, Linux and OS X) automation and configuration tool/framework that works well with your existing tools and is optimized for dealing with structured data (e.g. JSON, CSV, XML, etc.), REST APIs, and object models. It includes a command-line shell, an associated scripting language and a framework for processing cmdlets.

⁠Install

$ docker pull embrasure/powershell

For ease of use, it is recommended that you configure an alias for the one or more of the following commands:

$ alias powershell='docker run -it --rm embrasure/powershell '

$ alias pws='docker run -it --rm -v $(pwd):/scratch embrasure/powershell '

If you wish for this alias to persist on reboot, you can append this line to your ~/.bashrc (or similiar file):

$ alias powershell >> ~/.bashrc

$ alias pws >> ~/.bashrc

⁠Usage

⁠dir command

$ docker run -it --rm -v $(pwd):/scratch embrasure/powershell dir /scratch

Tag summary

Content type

Image

Digest

Size

167.1 MB

Last updated

about 10 years ago

docker pull embrasure/powershell