June 2025
Beginner to intermediate
473 pages
13h 30m
English
Microsoft has gone all-in on XML for Windows, which is why numerous XML files exist in a Windows system. On my Windows 11 test machine, I encountered about 1,500 files with the *.xml identifier in C:\Windows alone. Even quite “normal” Microsoft Office files (such as *.docx) use XML content. (Strictly speaking, Microsoft Office files are ZIP archives, which in turn contain XML files.) In summary, XML is an ubiquitous format on Windows.
PowerShell supports XML through its own data type. When reading an XML file, you must prefix the variable with the data type in square brackets so that PowerShell can clearly see that you don’t want to view the file as ordinary text, but in XML format instead.
Read now
Unlock full access