Commit graph

10848 commits

Author SHA1 Message Date
Don Schenck
7631c005ca Added logging to UpgradeToPS3.ps1
UpgradeToPS3.ps1 failed when tested with Ansible. Added logging output
to file C:\powershell\install.log.
2014-06-19 14:25:28 -05:00
Chris Church
243cd877ae Add integration tests for fetch/slurp, make powershell fetch/slurp work as close as possible to existing fetch/slurp modules. 2014-06-19 14:25:28 -05:00
Don Schenck
ef968efa8b Fixed bugs related to .NET Framework version. Version 3.5 or higher is now
assumed.
2014-06-19 14:25:28 -05:00
Michael DeHaan
b0648fda0b Docsite formatting fix. 2014-06-19 14:25:28 -05:00
Paul Durivage
5de34fca22 Make non-executable 2014-06-19 14:25:28 -05:00
Michael DeHaan
dfd4f18095 Docsite things. 2014-06-19 14:25:28 -05:00
Paul Durivage
b22e2160cf Add win_get_url module documentation 2014-06-19 14:25:28 -05:00
Paul Durivage
17f54afa08 Add win_get_url module 2014-06-19 14:25:27 -05:00
Don Schenck
5b15194a0d PowerShell script to assure PowerShell 3 is installed
Will install PowerShell 3 if the machine has a lower version. WILL NOT
do anything if PowerShell 3 (or higher) is already installed.
2014-06-19 14:25:27 -05:00
Matt Martz
069fa71d87 Remove unneeded code, document creates param and ensure creates only affects state=present 2014-06-19 14:25:27 -05:00
Matt Martz
5d7f67569f At state for win_msi and add documentation 2014-06-19 14:25:27 -05:00
Chris Church
a8ca579761 Fix host parameter to vvvvv. 2014-06-19 14:25:27 -05:00
Matt Martz
13a732e6b9 First pass at win_msi.ps1 msi installer module 2014-06-19 14:25:27 -05:00
Paul Durivage
003448defc Add memory and IP information to setup 2014-06-19 14:25:27 -05:00
Michael DeHaan
f423a8dffe Slight examples tweak 2014-06-19 14:25:23 -05:00
Michael DeHaan
eb33e3e2ef Slight tweak to windows wording. 2014-06-19 14:24:15 -05:00
Craig Ackerman
aba2cbfbc6 Additional Windows Setup info 2014-06-19 14:24:15 -05:00
Craig Ackerman
fab0374572 Added Windows intro content 2014-06-19 14:24:15 -05:00
Matt Martz
97f4f56286 Add Exit-Json and Fail-Json powershell helper functions 2014-06-19 14:24:15 -05:00
Chris Church
74c43c94cf Allow specifying remote powershell version via environment variable. 2014-06-19 14:24:14 -05:00
Matt Martz
51a50dee3e Clean up how we initialize the result psobject 2014-06-19 14:24:14 -05:00
Matt Martz
bf400d3c23 Mention that with windows target hosts, fact_path and filter are not currently supported 2014-06-19 14:24:14 -05:00
Chris Church
8f762a7d15 Update logging based on verbosity, add vvvvv support to show details of put/fetch file. 2014-06-19 14:24:14 -05:00
Matt Martz
9ca83446a2 A couple of DOCUMENTATION fixes for win_ping and win_stat 2014-06-19 14:24:14 -05:00
Michael DeHaan
e3cc1eaefc Update windows docs in progress. 2014-06-19 14:24:14 -05:00
Michael DeHaan
618e8dee78 Add doc stubs 2014-06-19 14:24:14 -05:00
Michael DeHaan
e4ff74ebbd Add a docs stub for the module. 2014-06-19 14:24:14 -05:00
Matt Martz
4f764fd3e7 setup.ps1 willnot support fact_path and filter to start 2014-06-19 14:24:14 -05:00
Chris Church
c0c9ff23b2 Fix win_ping integration test. 2014-06-19 14:24:14 -05:00
Chris Church
21ba529fbe Fixes/notes related to slashes in remote paths. 2014-06-19 14:24:14 -05:00
Michael DeHaan
4991c77479 Remove stubs. 2014-06-19 14:24:14 -05:00
Matt Martz
f92f739366 Need to call ToString Platform to get the string 2014-06-19 14:24:14 -05:00
Michael DeHaan
02caebb08f Rename some modules so they can have seperate doc stubs. 2014-06-19 14:24:13 -05:00
Matt Martz
09e538f954 Add start for powershell setup module 2014-06-19 14:24:13 -05:00
Chris Church
7e8cc65829 Refactor common args used for building PowerShell commands. 2014-06-19 14:24:13 -05:00
Chris Church
0c938562a7 Add winrm integration tests for raw, script and ping modules. 2014-06-19 14:24:13 -05:00
Matt Martz
fa0943a9b3 Add license header to powersell modules 2014-06-19 14:24:13 -05:00
Matt Martz
e7e95721b9 powershell modules will have a .ps1 extension 2014-06-19 14:24:13 -05:00
Matt Martz
a25c441300 Add shared functions to module_utils/powershell.ps1 and refactor powershell modules to utilize the common powershell code 2014-06-19 14:24:13 -05:00
Michael DeHaan
bafa63b424 Revise documentation on powershell module replacer code. 2014-06-19 14:24:13 -05:00
Chris Church
f7af29680b Add default license boilerplate, refactor common powershell code, fixes for raw/script modules. 2014-06-19 14:24:13 -05:00
Michael DeHaan
35a7c93c76 Added comment about implementation line. 2014-06-19 14:24:13 -05:00
Michael DeHaan
3ac86e57f4 FIXME comment cleanup 2014-06-19 14:24:13 -05:00
Michael DeHaan
80499346d1 Remove stray FIXME 2014-06-19 14:24:13 -05:00
Matt Martz
6cda35e1d3 Use more simple check for existence of member 2014-06-19 14:24:13 -05:00
Matt Martz
14dab9870b Instantiate psobject directly 2014-06-19 14:24:12 -05:00
Michael DeHaan
ac6ccb77cc Intro windows docs. 2014-06-19 14:24:12 -05:00
Michael DeHaan
ab10d91881 Add start of introductory windows documentation. 2014-06-19 14:24:12 -05:00
Chris Church
5dcaa30476 Add shell_plugins to abstract shell-specific functions out of runner, add winrm connection plugin, add initial Windows modules. 2014-06-19 14:24:12 -05:00
Michael DeHaan
627ff30a6f Add module replacer capability for powershell files. 2014-06-17 12:30:34 -05:00