-
-
Save phatmandrake/b688aaee6f4a8cae206337ac0a29fcfc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$XMLSuccess = $([XML]' | |
<response method="update"> | |
<result> | |
<success /> | |
</result> | |
</response> | |
').response.result | |
$XMLResponse = $([XML]' | |
<response method="getInfo"> | |
<result> | |
<settings | |
Props1="3" | |
Props2="0" | |
Props3="1" | |
Props4="" | |
Props5="1" /> | |
</result> | |
</response>').response.result.settings | |
$Results = $XMLSuccess,$XMLResponse | |
$Results.foreach{ | |
$_ | Out-Default | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment