Mastering PowerShell Scripting - Fourth Edition by Chris Dent
Author:Chris Dent [Chris Dent]
Language: eng
Format: epub
Publisher: Packt Publishing
Published: 2021-06-28T16:00:00+00:00
Modifying the value of an attribute uses the same syntax:
[XDocument]$xDocument = @" <?xml version="1.0"?> <list name='letters'> <name>1</name> </list> "@ $xDocument.Element('list').Attribute('name').Value = 'numbers'
If the attribute does not exist, an error will be thrown:
PS> $xDocument.Element('list').Attribute('other').Value = 'numbers' InvalidOperation: The property 'Value' cannot be found on this object. Verify that the property exists and can be set.
The changes made by the preceding assignments may be viewed in the xDocument variable:
PS> $xDocument.ToString() <list name="numbers"> <name>1</name> </list>
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Test-Driven iOS Development with Swift 4 by Dominik Hauser(7415)
Linux Device Driver Development Cookbook by Rodolfo Giometti(3533)
The Infinite Retina by Robert Scoble Irena Cronin(2446)
MCSA Windows Server 2016 Study Guide: Exam 70-740 by William Panek(2330)
Kali Linux - An Ethical Hacker's Cookbook: End-to-end penetration testing solutions by Sharma Himanshu(2121)
Docker on Windows by Stoneman Elton(2121)
Filmora Efficient Editing by Alexander Zacharias(2025)
Hands-On AWS Penetration Testing with Kali Linux by Karl Gilbert(1898)
Computers For Seniors For Dummies by Nancy C. Muir(1792)
Hands-On Linux for Architects by Denis Salamanca(1785)
The Old New Thing by Raymond Chen(1738)
Programming in C (4th Edition) (Developer's Library) by Stephen G. Kochan(1724)
MCSA Windows Server 2016 Study Guide: Exam 70-741 by William Panek(1493)
Installing and Configuring Windows 10: 70-698 Exam Guide by Bekim Dauti(1445)
Mastering PowerShell Scripting - Fourth Edition by Chris Dent(1444)
Mastering Kubernetes by Gigi Sayfan(1415)
Edit Like a Pro with iMovie by Regit(1414)
Embedded Systems Architecture by Daniele Lacamera(1401)
Learn Computer Forensics by William Oettinger(1371)