< Back
ConvertTo-Yaml
Post
NAME ConvertTo-Yaml
SYNTAX
ConvertTo-Yaml [[-Data] <Object>] [-OutFile <string>] [-JsonCompatible] [-Force] [<CommonParameters>]
ConvertTo-Yaml [[-Data] <Object>] [-OutFile <string>] [-Options {None | Roundtrip | DisableAliases | EmitDefaults
| JsonCompatible | DefaultToStaticType}] [-Force] [<CommonParameters>]
PARAMETERS
-Data <Object>
Required? false
Position? 0
Accept pipeline input? true (ByValue)
Parameter set name (All)
Aliases None
Dynamic? false
-Force
Required? false
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-JsonCompatible
Required? false
Position? Named
Accept pipeline input? false
Parameter set name NoOptions
Aliases None
Dynamic? false
-Options <SerializationOptions>
Required? false
Position? Named
Accept pipeline input? false
Parameter set name Options
Aliases None
Dynamic? false
-OutFile <string>
Required? false
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
System.Object
OUTPUTS
System.Object
ALIASES
cty
REMARKS
None
SYNTAX
ConvertTo-Yaml [[-Data] <Object>] [-OutFile <string>] [-JsonCompatible] [-Force] [<CommonParameters>]
ConvertTo-Yaml [[-Data] <Object>] [-OutFile <string>] [-Options {None | Roundtrip | DisableAliases | EmitDefaults
| JsonCompatible | DefaultToStaticType}] [-Force] [<CommonParameters>]
PARAMETERS
-Data <Object>
Required? false
Position? 0
Accept pipeline input? true (ByValue)
Parameter set name (All)
Aliases None
Dynamic? false
-Force
Required? false
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-JsonCompatible
Required? false
Position? Named
Accept pipeline input? false
Parameter set name NoOptions
Aliases None
Dynamic? false
-Options <SerializationOptions>
Required? false
Position? Named
Accept pipeline input? false
Parameter set name Options
Aliases None
Dynamic? false
-OutFile <string>
Required? false
Position? Named
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
System.Object
OUTPUTS
System.Object
ALIASES
cty
REMARKS
None