SnippetPx

1.0.0.10

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.
Show more

Installation Options

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

Install-Module -Name SnippetPx -RequiredVersion 1.0.0.10

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name SnippetPx -Version 1.0.0.10

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy 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

Owners

Copyright

Copyright 2015 Kirk Munro

Package Details

Author(s)

  • Kirk Munro

Tags

snippet invoke scriptblock dry principle

Cmdlets

Get-Snippet Invoke-Snippet

Dependencies

This module has no dependencies.

FileList

Version History

Version Downloads Last updated
1.0.6.19 24,618 4/10/2018
1.0.5.18 4,523 3/28/2016
1.0.4.16 504 10/30/2015
1.0.3.14 47 10/24/2015
1.0.2.13 211 4/5/2015
1.0.2.12 31 4/5/2015
1.0.1.11 43 3/26/2015
1.0.0.10 (current version) 129 2/15/2015
1.0.0.9 66 11/17/2014
1.0.0.8 36 11/17/2014
1.0.0.6 47 10/14/2014
1.0.0.5 34 10/9/2014
1.0.0.4 34 10/8/2014
1.0.0.2 37 10/6/2014
Show less