-
-
Notifications
You must be signed in to change notification settings - Fork 7
Save Xml
Apostolis Bekiaris edited this page Apr 23, 2020
·
4 revisions
external help file: XpandPwsh-help.xml Module Name: XpandPwsh online version: http://jdhitsolutions.com/blog/powershell/3462/friday-fun-out-conditionalcolor/ schema: 2.0.0
Saves an Xml Document.
Save-Xml -Owner <XmlDocument> [-Path] <String> [<CommonParameters>]
Saves an Xml Document.
PS C:\> [xml]$CSProj=Get-XmlContent $FilePath
$CSProj|Save-Xml $FilePath
{{ Fill Owner Description }}
Type: XmlDocument
Parameter Sets: (All)
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
{{ Fill Path Description }}
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.