amps
0.2.1
A PowerShell script module with advanced functions that extend PowerShell. Currently included functions focus on enabling the short and concise splatting of nested objects.
Minimum PowerShell version
5.0
Installation Options
Owners
Copyright
(c) 2017 Alan Mervitz. All rights reserved.
Package Details
Author(s)
- Alan Mervitz
Tags
Functions
Dependencies
This module has no dependencies.
Release Notes
Version 0.2.1:
Add the Invoke-Splat function to directly splat a hash table or array located within a nested object. It has
the alias of 'iat' to provide a shorthand version named after the At symbol (@), by 'Invoking At'.
Example:
Invoke-Splat Write-Host $loginResult.Message
---
Version 0.1.0:
Add the Enter-Object function for accessing the properties of an object or items of a hashtable as variables
within a new scope without needing to refer to the containing object. This makes it easy to splat a nested
object without temporary variable assignments. It has an alias of 'with' to provide a shorthand version that
makes it feel like a built-in language construct.
Example:
with $loginResult {
Write-Host @Message
}
FileList
Version History
Version | Downloads | Last updated |
---|---|---|
0.2.1 (current version) | 746 | 2/13/2017 |
0.1.0 | 40 | 2/6/2017 |