ConvertFrom-Yaml



ConvertFrom-Yaml

SYNOPSIS

Convert a Yaml Formatted String/Files to a [PSCustomObject]

SYNTAX

ConvertFrom-Yaml [[-Yaml] ] [-AllDocuments] [-Ordered] [-UseMergingParser] [<CommonParameters>]

DESCRIPTION

Convert a Yaml Formatted String/Files to a [PSCustomObject]

EXAMPLES

PARAMETERS

AllDocuments

-AllDocuments
   
   Required?                    false
   Position?                    Named
   Accept pipeline input?       false
   Parameter set name           (All)
   Aliases                      None
   Dynamic?                     false

Ordered

-Ordered
   
   Required?                    false
   Position?                    Named
   Accept pipeline input?       false
   Parameter set name           (All)
   Aliases                      None
   Dynamic?                     false

UseMergingParser

-UseMergingParser
   
   Required?                    false
   Position?                    Named
   Accept pipeline input?       false
   Parameter set name           (All)
   Aliases                      None
   Dynamic?                     false

Yaml

-Yaml <string>
   
   Required?                    false
   Position?                    0
   Accept pipeline input?       true (ByValue)
   Parameter set name           (All)
   Aliases                      None
   Dynamic?                     false

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Last updated