SnippetPx

1.0.1.11

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.1.11

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

Install-PSResource -Name SnippetPx -Version 1.0.1.11

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 17,957 4/10/2018
1.0.5.18 4,519 3/28/2016
1.0.4.16 503 10/30/2015
1.0.3.14 46 10/24/2015
1.0.2.13 210 4/5/2015
1.0.2.12 30 4/5/2015
1.0.1.11 (current version) 42 3/26/2015
1.0.0.10 128 2/15/2015
1.0.0.9 65 11/17/2014
1.0.0.8 35 11/17/2014
1.0.0.6 46 10/14/2014
1.0.0.5 32 10/9/2014
1.0.0.4 33 10/8/2014
1.0.0.2 36 10/6/2014
Show less