diff --git a/reference/3.0/Microsoft.PowerShell.Utility/ConvertTo-Xml.md b/reference/3.0/Microsoft.PowerShell.Utility/ConvertTo-Xml.md index 4fe62732be0a..5816d9b32571 100644 --- a/reference/3.0/Microsoft.PowerShell.Utility/ConvertTo-Xml.md +++ b/reference/3.0/Microsoft.PowerShell.Utility/ConvertTo-Xml.md @@ -13,9 +13,9 @@ title: ConvertTo-Xml Creates an XML-based representation of an object. ## SYNTAX -``` -ConvertTo-Xml [-Depth ] [-InputObject] [-NoTypeInformation] [-As ] - [] +```powershell +ConvertTo-Xml [-InputObject] [-Depth ] [-NoTypeInformation] + [-As ] [] ``` ## DESCRIPTION @@ -97,7 +97,7 @@ Parameter Sets: (All) Aliases: Required: True -Position: 1 +Position: 0 Default value: None Accept pipeline input: True (ByValue) Accept wildcard characters: True diff --git a/reference/4.0/Microsoft.PowerShell.Utility/ConvertTo-Xml.md b/reference/4.0/Microsoft.PowerShell.Utility/ConvertTo-Xml.md index 7f95fdce91cc..6eca43ab5af2 100644 --- a/reference/4.0/Microsoft.PowerShell.Utility/ConvertTo-Xml.md +++ b/reference/4.0/Microsoft.PowerShell.Utility/ConvertTo-Xml.md @@ -15,9 +15,9 @@ Creates an XML-based representation of an object. ## SYNTAX -``` -ConvertTo-Xml [-Depth ] [-InputObject] [-NoTypeInformation] [-As ] - [] +```powershell +ConvertTo-Xml [-InputObject] [-Depth ] [-NoTypeInformation] + [-As ] [] ``` ## DESCRIPTION @@ -102,7 +102,7 @@ Parameter Sets: (All) Aliases: Required: True -Position: 1 +Position: 0 Default value: None Accept pipeline input: True (ByValue) Accept wildcard characters: True diff --git a/reference/5.0/Microsoft.PowerShell.Utility/ConvertTo-Xml.md b/reference/5.0/Microsoft.PowerShell.Utility/ConvertTo-Xml.md index f51e7a3c3c11..b47236614682 100644 --- a/reference/5.0/Microsoft.PowerShell.Utility/ConvertTo-Xml.md +++ b/reference/5.0/Microsoft.PowerShell.Utility/ConvertTo-Xml.md @@ -15,9 +15,9 @@ Creates an XML-based representation of an object. ## SYNTAX -``` -ConvertTo-Xml [-Depth ] [-InputObject] [-NoTypeInformation] [-As ] - [] +```powershell +ConvertTo-Xml [-InputObject] [-Depth ] [-NoTypeInformation] + [-As ] [] ``` ## DESCRIPTION diff --git a/reference/5.1/Microsoft.PowerShell.Utility/ConvertTo-Xml.md b/reference/5.1/Microsoft.PowerShell.Utility/ConvertTo-Xml.md index 35d59e5290ec..aa71466398ef 100644 --- a/reference/5.1/Microsoft.PowerShell.Utility/ConvertTo-Xml.md +++ b/reference/5.1/Microsoft.PowerShell.Utility/ConvertTo-Xml.md @@ -15,9 +15,9 @@ Creates an XML-based representation of an object. ## SYNTAX -``` -ConvertTo-Xml [-Depth ] [-InputObject] [-NoTypeInformation] [-As ] - [] +```powershell +ConvertTo-Xml [-InputObject] [-Depth ] [-NoTypeInformation] + [-As ] [] ``` ## DESCRIPTION diff --git a/reference/6/Microsoft.PowerShell.Utility/ConvertTo-Xml.md b/reference/6/Microsoft.PowerShell.Utility/ConvertTo-Xml.md index 4c23cb83c792..aa71466398ef 100644 --- a/reference/6/Microsoft.PowerShell.Utility/ConvertTo-Xml.md +++ b/reference/6/Microsoft.PowerShell.Utility/ConvertTo-Xml.md @@ -15,9 +15,9 @@ Creates an XML-based representation of an object. ## SYNTAX -``` -ConvertTo-Xml [-Depth ] [-InputObject] [-NoTypeInformation] [-As ] - [-InformationAction ] [-InformationVariable ] [] +```powershell +ConvertTo-Xml [-InputObject] [-Depth ] [-NoTypeInformation] + [-As ] [] ``` ## DESCRIPTION @@ -95,45 +95,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -InformationAction --- String: Returns a single string. - --- Stream: Returns an array of strings. - --- Document: Returns an XmlDocument object. - -The default is Document.```yaml -Type: ActionPreference -Parameter Sets: (All) -Aliases: infa -Accepted values: SilentlyContinue, Stop, Continue, Inquire, Ignore, Suspend - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -InformationVariable --- String: Returns a single string. - --- Stream: Returns an array of strings. - --- Document: Returns an XmlDocument object. - -The default is Document.```yaml -Type: String -Parameter Sets: (All) -Aliases: iv - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -InputObject Specifies the object to be converted. Enter a variable that contains the objects, or type a command or expression that gets the objects. @@ -145,7 +106,7 @@ Parameter Sets: (All) Aliases: Required: True -Position: 1 +Position: 0 Default value: None Accept pipeline input: True (ByValue) Accept wildcard characters: False