Home

Awesome

PSYaml

Build Status

BranchStatus
MasterAppVeyor build status
<img src=".\Media\YAML_PS.png" height="200" align="right" />

Introduction

This module will help users convert from/to YAML. For more information see the documentation or the legacy documentation.

Please note that the Master branch has the latest, ready-for-production version. The release/stage branch is the holding ground for master merges where integration testing will take place. Other branches with active development will be denoted by having a prefix ( feature/, bugfix/, release/, etc) followed by an unique identifier. Nothing is merged into release/stage branch without code review, and only code that passes testing in the release/stage branch will be merged into master.

Features

ToDo

Example Usage

import-module psyaml
$yamlString = @"
anArray:
- 1
- 2
- 3
nested:
  array:
  - this
  - is
  - an
  - array
hello: world
"@
$YamlObject = ConvertFrom-YAML $yamlString
ConvertTo-YAML $YamlObject

Contact Information

Author: Phil-Factor (philipFactor@gmail.com)

Release Notes

VersionChange Log
1.0.3Closed the open YAML file if error occurs in it during parsing
1.0.2Reformated several sections for readability, added pester tests
1.0.1Converted single psm1 file to multiple public/private functions

Installation

One time setup

Automated Install

Import the module.

Import-Module PSYaml #Alternatively, Import-Module \\Path\To\PSYaml

Get commands in the module

Get-Command -Module PSYaml

Get help

Get-Help ConvertFrom-Yaml -Full Get-Help about_PSYaml