Configuration

1.3.1

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

There is a newer prerelease version of this module available.
See the version list below for details.

Installation Options

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

Install-Module -Name Configuration -RequiredVersion 1.3.1

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

Install-PSResource -Name Configuration -Version 1.3.1

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 (c) 2014-2017 by Joel Bennett, all rights reserved.

Package Details

Author(s)

  • Joel Bennett

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
       

FileList

Version History

Version Downloads Last updated
1.6.0 103,286 8/24/2023
1.5.1 103,604 7/18/2022
1.5.0 72,569 7/3/2021
1.4.0-perfor... 961 1/19/2021
1.4.0-ghacti... 672 1/9/2021
1.3.1 (current version) 139,101 7/12/2018
1.3.0 31,864 5/1/2018
1.2.0 7,176 11/13/2017
1.1.1 1,110 10/19/2017
1.0.2 4,745 9/25/2016
1.0.0 775 9/6/2016
0.9.0 671 9/2/2016
0.8 899 5/11/2016
0.7 660 5/11/2016
0.4 689 4/15/2016
0.3.1 685 3/8/2016
0.3 666 3/5/2016
0.2.1 728 11/11/2015
0.2 701 11/11/2015
Show less