Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mefellows/winrm-powershell

Run Powershell remotely from the CLI
https://github.com/mefellows/winrm-powershell

Last synced: 3 months ago
JSON representation

Run Powershell remotely from the CLI

Awesome Lists containing this project

README

        

# WinRM Powershell
Run Powershell remotely from the CLI

A tiny wrapper around masterzen/winrm to execute Powershell commands remotely over
WinRM from any OS, including elevated user support.

## Usage

```
winrm-powershell --help
Usage of bin/winrm-powershell:
-elevated=false: run as elevated user?
-hostname="localhost": winrm host
-password="vagrant": winrm admin password
-port=5985: winrm port
-timeout="PT36000S": winrm timeout
-username="vagrant": winrm admin username
```

Example basic command:
```
winrm-powershell whoami
vagrant2012r2\vagrant
```