packer-communicator-winrm

command module
v0.0.0-...-c4902e5 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2014 License: MIT Imports: 9 Imported by: 0

README

Packer WinRM Plugin

A Packer communicator plugin for interacting with machines using Windows Remote Management. For more information on WinRM, visit Microsoft's WinRM site.

Status

This is a work in progress. It is not a usable Packer plugin yet. However, while the kinks are being worked out it is also a stand-alone command-line application.

wercker status Coverage Status

Usage

A Packer communicator plugin supports the following functionality: Execute a shell command, upload a file, download a file, and upload a directory.

Help
alias pcw=`pwd`/packer-communicator-winrm
pcw help
Executing a shell command
pcw cmd "powershell Write-Host 'Hello' (Get-WmiObject -class Win32_OperatingSystem).Caption"
Uploading a file
pcw file -from=./README.md -to=C:\\Windows\\Temp\\README.md
pcw cmd "type C:\\Windows\\Temp\\README.md"
Uploading a directory
pcw dir -from="~/cookbooks/" -to="c:\\Windows\\Temp\\cookbooks"
pcw cmd "dir c:\\Windows\\Temp\\cookbooks"
Downloading a file

not started

Props

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
communicator

Jump to

Keyboard shortcuts

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