SnippetPx

1.0.6.19

The SnippetPx module enhances the snippet experience in PowerShell by offering a new format for Snippets: plain, ordinary ps1 files. These snippets are not just blocks of script that could be injected into a file. They are also invocable! This enables better reuse of commonly used pieces of script that would not otherwise be placed into a PowerShell function, either b
The SnippetPx module enhances the snippet experience in PowerShell by offering a new format for Snippets: plain, ordinary ps1 files. These snippets are not just blocks of script that could be injected into a file. They are also invocable! This enables better reuse of commonly used pieces of script that would not otherwise be placed into a PowerShell function, either because the function support in PowerShell won't allow for it to be invoked properly in the current scope, or because it isn't big enough to warrant adding another function to the function pool.

Minimum PowerShell version

3.0

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name SnippetPx

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deloy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Author(s)

Kirk Munro

Copyright

Copyright 2018 Kirk Munro

Owners

Tags

snippet invoke scriptblock dry principle

Cmdlets

Get-Snippet Invoke-Snippet

Dependencies

This module has no dependencies.

Version History

Version Downloads Last updated
1.0.6.19 (current version) 6,864 4/10/2018
1.0.5.18 4,461 3/28/2016
1.0.4.16 463 10/30/2015
1.0.3.14 21 10/24/2015
1.0.2.13 188 4/5/2015
1.0.2.12 10 4/5/2015
1.0.1.11 21 3/26/2015
1.0.0.10 105 2/15/2015
1.0.0.9 44 11/17/2014
1.0.0.8 11 11/17/2014
1.0.0.6 24 10/14/2014
1.0.0.5 11 10/9/2014
1.0.0.4 12 10/8/2014
1.0.0.2 15 10/6/2014