51c051f0-a2e5-4484-a4d4-4def0eab9517
use a single call, and let Select-Xml read and query your file directly.
Select-Xml