< Back

Convert-JsonToXml

Sat Jan 18, 2020 9:36 am

NAME Convert-JsonToXml



SYNOPSIS







SYNTAX

Convert-JsonToXml -JsonText <String> [-RootElementName <String>] [-ArrayElementName <String>] -Connection

<Hashtable> [<CommonParameters>]





DESCRIPTION

The Convert-JsonToXml activity is used in a runbook to convert JSON formatted text into XML.





PARAMETERS

-JsonText <String>

The JSON text to convert to XML.



Required? true

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-RootElementName [<String>]

Specify to insert a top-level element name in the XML



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-ArrayElementName [<String>]

Specify to insert an array-level element name in the XML



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Connection <Hashtable>

Specifies information used to configure the command.



Required? true

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? 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

None







OUTPUTS

System.String









RELATED LINKS