Skip to content

Out SamplerXml

gaelcolas edited this page Jul 18, 2024 · 1 revision

Out-SamplerXml

SYNOPSIS

Outputs an XML document to a file.

SYNTAX

Out-SamplerXml [-XmlDocument] <XmlDocument> [-Path] <String> [[-Encoding] <String>]
 [<CommonParameters>]

DESCRIPTION

Outputs an XML document to the file specified in the parameter Path.

EXAMPLES

EXAMPLE 1

<a><b /></a>' -Encoding 'UTF8'

PARAMETERS

-Encoding

Specifies the encoding for the file.

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 3
Default value: UTF8
Accept pipeline input: False
Accept wildcard characters: False

-Path

The path to the file name to write to.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-XmlDocument

The XML document to format.

Type: XmlDocument
Parameter Sets: (All)
Aliases:

Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: 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.

INPUTS

OUTPUTS

NOTES

RELATED LINKS

Clone this wiki locally