Configuration

1.3.1

A module for storing and reading configuration values, with full PS Data serialization, automatic configuration for modules and scripts, etc.

Installation Options

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

Install-Module -Name Configuration

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)

Joel Bennett

Copyright

Copyright (c) 2014-2017 by Joel Bennett, all rights reserved.

Owners

Tags

Development Configuration Settings Storage

Functions

Import-Configuration Export-Configuration Get-StoragePath Add-MetadataConverter ConvertFrom-Metadata ConvertTo-Metadata Export-Metadata Import-Metadata Update-Manifest Get-ManifestValue *

Dependencies

This module has no dependencies.

Release Notes


       v1.3.1: Use GetPureExpression().Value to support older versions of PowerShell

       v1.3.0: Bump version to hide 1.2 and justify the change to the save paths.
               Rename Get-StoragePath to Get-ConfigurationPath (old name is aliased)
       v1.2.0: Add Support for Linux and MacOS
               Stop using `mkdir -Force` because it does not work on Linux
               Add default paths for posix systems based on XDG standards
               Add logic for overriding the default paths in the Manifest
               Fix a bug in PSObject serialization (from v1.1.1)
               Fix bug with special property names (like PSObject) caused by dot notation
               Fix tests so they run cross-platform
               ACCIDENTALLY changed default save paths:
                  Using "powershell" instead of WindowsPowerShell (even in WindowsPowerShell)
       v1.1.0: Added support for ScriptBlocks and SwitchParameters
               Added support for serializing objects as hashtables
       

Version History

Version Downloads Last updated
1.3.1 (current version) 10,060 7/12/2018
1.3.0 2,055 5/1/2018
1.2.0 5,810 11/13/2017
1.1.1 456 10/19/2017
1.0.2 4,085 9/25/2016
1.0.0 126 9/6/2016
0.9.0 16 9/2/2016
0.8 244 5/11/2016
0.7 7 5/11/2016
0.4 34 4/15/2016
0.3.1 30 3/8/2016
0.3 11 3/5/2016
0.2.1 70 11/11/2015
0.2 31 11/11/2015