Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nightroman/PsdKit
PowerShell data (psd1) tool kit
https://github.com/nightroman/PsdKit
Last synced: 3 months ago
JSON representation
PowerShell data (psd1) tool kit
- Host: GitHub
- URL: https://github.com/nightroman/PsdKit
- Owner: nightroman
- License: apache-2.0
- Created: 2018-03-02T13:48:17.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-06-04T16:29:51.000Z (over 1 year ago)
- Last Synced: 2024-05-11T04:34:59.542Z (6 months ago)
- Language: PowerShell
- Homepage:
- Size: 60.5 KB
- Stars: 39
- Watchers: 5
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- jimsghstars - nightroman/PsdKit - PowerShell data (psd1) tool kit (PowerShell)
README
# PsdKit
The module provides commands for the following scenarios:
- Data persistence via PowerShell data (psd1) files:
- `ConvertTo-Psd` - Converts objects to psd1 strings.
- `Import-Psd` - Imports objects from a psd1 file.- Updates of psd1 files preserving comments and structure:
- `Convert-PsdToXml` - Converts a psd1 string to PSD-XML.
- `Convert-XmlToPsd` - Converts PSD-XML to a psd1 string.
- `Export-PsdXml` - Exports PSD-XML to a psd1 file.
- `Import-PsdXml` - Imports a psd1 file as PSD-XML.
- `Get-Psd` - Gets node PowerShell data.
- `Set-Psd` - Sets node PowerShell data.For more details, see [about_PsdKit.help.txt](https://github.com/nightroman/PsdKit/blob/master/about_PsdKit.help.txt).
See also [Examples](https://github.com/nightroman/PsdKit/blob/master/Examples):
- [Build-Manifest.ps1] - Builds the module manifest automatically.
- [StronglyTypedData.ps1] - Export/import using PowerShell classes.
- [Update-PsdWebData.ps1] - Updates "web data islands" in psd1 files.## How to install and get help
Install [PsdKit from PSGallery](https://www.powershellgallery.com/packages/PsdKit):
Install-Module PsdKit
Import the module and get the conceptual help:
Import-Module PsdKit
help about_PsdKitGet help for individual commands:
help ConvertTo-Psd -Full
[Build-Manifest.ps1]: https://github.com/nightroman/PsdKit/blob/master/Examples/Build-Manifest.ps1
[StronglyTypedData.ps1]: https://github.com/nightroman/PsdKit/blob/master/Examples/StronglyTypedData.ps1
[Update-PsdWebData.ps1]: https://github.com/nightroman/PsdKit/blob/master/Examples/Update-PsdWebData.ps1