Summary: Use Windows PowerShell to create an XML representation of a registry key.
How can I easily create an XML representation of a registry key by using Windows PowerShell?
Use the Get-ChildItem cmdllet and the registry provider to get the registry key, and pipe the results to the Export-CliXML cmdlet:
Get-ChildItem ‘HKCU:\Software\Microsoft\Active Setup’ -Recurse | Export-Clixml -Path c:\fso\active.xml
0 comments