< # .SYNOPSIS This script adds an attribute to an XML node .DESCRIPTION This script creates a simple XML document and sets an attribute on a node. The script displays the before and after results, and is a conversion and extension of the MSDN sample. .NOTES ...