Parsing von XML mit Powershell

Ich bin neu in Powershell. Ich habe eine Konfigurations-XML, die lautet:

<xml>
    <Section name="BackendStatus">
        <BEName BE="crust" Status="1" />
        <BEName BE="pizza" Status="1" />
        <BEName BE="pie" Status="1" />
        <BEName BE="bread" Status="1" />
        <BEName BE="Kulcha" Status="1" />
        <BEName BE="kulfi" Status="1" />
        <BEName BE="cheese" Status="1" />
    </Section>
</xml>

Ich muss jedes Element analysierenBEName um den Status zu überprüfen. Wie geht das mit PowerShell?

Antworten auf die Frage(3)

Ihre Antwort auf die Frage