winrm-powershell

command module
v0.0.0-...-46f05f8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 22, 2015 License: MIT Imports: 14 Imported by: 0

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

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL