powershell

pdk
supported
Adds a new exec provider for executing PowerShell commands.

20,187,830 downloads

14,973 latest version

5.0 quality score

Version information

  • 6.0.2 (latest)
  • 6.0.1
  • 6.0.0
  • 5.2.1
  • 5.2.0
  • 5.1.0
  • 5.0.0
  • 4.1.0
  • 4.0.0
  • 3.0.1
  • 3.0.0
  • 2.3.0
  • 2.2.0
  • 2.1.5
  • 2.1.4
  • 2.1.3
  • 2.1.2
  • 2.1.1
  • 2.1.0
  • 2.0.3
  • 2.0.2
  • 2.0.1
  • 2.0.0
  • 1.0.6
  • 1.0.5
  • 1.0.4
  • 1.0.3
  • 1.0.2
  • 1.0.1
released Jul 27th 2017
This version is compatible with:
  • Puppet Enterprise 2018.1.x, 2017.3.x, 2017.2.x, 2017.1.x, 2016.5.x, 2016.4.x
  • Puppet >= 4.7.0 < 6.0.0
  • Windows
    ,
    Ubuntu
    ,
    CentOS

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'puppetlabs-powershell', '2.1.2'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add puppetlabs-powershell
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install puppetlabs-powershell --version 2.1.2

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

Documentation

puppetlabs/powershell — version 2.1.2 Jul 27th 2017

2017-07-27 - Supported Release 2.1.2

Summary

Small release with bugs fixes.

Bug Fixes

  • Fix Global Warning variable (MODULES-5224)
  • Move PowerShell template file to stop conflicts with DSC Module (MODULES-5228)

2017-07-07 - Supported Release 2.1.1

Summary

Small release with bugs fixes and experimental support for non-Windows Operating Systems (CentOS and Ubuntu).

Features

  • Added rake tasks for release automation
  • Added experimental support for non-Windows Support (CentOS, Ubuntu) (MODULES-3945)

Bug Fixes

2016-11-17 - Supported Release 2.1.0

Summary

Small release with bugs fixes and another speed improvement.

Bug Fixes

  • Support Windows 2016/WMF 5.1 using named pipes (MODULES-3690)

Documentation updates

2016-10-05 - Supported Release 2.0.3

Summary

Small release with bugs fixes and another speed improvement.

Bug Fixes

  • Miscellaneous fixes which improve reliability
  • Capture exit codes when executing external scripts (MODULES-3399)
  • Add ability to set current working directory (MODULES-3565)
  • Respect user specified timeout (MODULES-3709)
  • Improve handling of user code exceptions (MODULES-3443)
  • Output line and stacktrace of user code exception (MODULES-3839)
  • Improve resilience to failure of PowerShell host (MODULES-3875)
  • Fix race condition in threading with PowerShell host (MODULES-3144)
  • Modify tests to detect differences in PowerShell error text (MODULES-3442)

Documentation updates

2016-07-12 - Supported Release 2.0.2

Summary

Small release with bugs fixes and another speed improvement.

Features

  • Noticable speed increase by reducing the time start a PowerShell command (MODULES-3406)

Bug Fixes

2016-05-24 - Supported Release 2.0.1

Bug Fixes

  • Updated the powershell manager in this module in order to not conflict with the Powershell Manager in the Puppet DSC module

2016-05-17 - Supported Release 2.0.0

Summary

Major release with performance improvements

Removed support for Windows Server 2003

Features

  • Major performance improvement by sharing a single powershell session instead of creating a new powershell session per command
  • Security improvement as scripts are not stored on the filesystem temporarily

Bug Fixes

  • Updated test suites with later versions
  • Documentation cleanup

2015-12-08 - Supported Release 1.0.6

Summary

Small release for support of newer PE versions.

2015-07-28 - Supported Release 1.0.5

Summary

Add metadata for Puppet 4 and PE 2015.2.0

Bug Fixes

  • Minor testing bug fixes
  • Readme cleanup

2014-11-04 - Supported Release 1.0.4

Summary

Fix Issues URL Add Future Parser testing support

2014-08-25 - Supported Release 1.0.3

Summary

This release updates the tests to verify that powershell continues to function on x64-native ruby.

2014-07-15 - Supported Release 1.0.2

Summary

This release merely updates metadata.json so the module can be uninstalled and upgraded via the puppet module command.

2014-07-09 - Release 1.0.1

Summary

Fix issue with metadata and PE version requirement