Last active
October 25, 2019 15:51
-
-
Save cmrichardson/9b67301b97f1b80dee8721d8d16f91a6 to your computer and use it in GitHub Desktop.
XML example
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
[xml]$xml = @' | |
<Objs Version="1.1.0.1" xmlns="http://schemas.microsoft.com/powershell/2004/04"> | |
<Obj RefId="0"> | |
<TN RefId="0"> | |
<T>System.Management.Automation.PSCustomObject</T> | |
<T>System.Object</T> | |
</TN> | |
<MS> | |
<Obj N="LastInstanceSessions" RefId="9"> | |
<TNRef RefId="0" /> | |
<MS> | |
<S N="0"></S> | |
<S N="1">10.100.4.219 (clive.richardson)</S> | |
</MS> | |
</Obj> | |
<Obj N="PortForwarding" RefId="10"> | |
<TNRef RefId="0" /> | |
<MS> | |
<S N="0000.XYZ-DEV-ABC1">Local;fred.smith@10.100.1.111:22;10.111.4.212:1433;11111;-1;C:\Keys\PrivateKey.ppk;0.0.0.0;No proxy selected;0</S> | |
<S N="0001.XYZ-QA-ABC1">Local;fred.smith@10.100.1.111:22;10.111.4.12:1433;11112;-1;C:\Keys\PrivateKey.ppk;0.0.0.0;No proxy selected;0</S> | |
</MS> | |
</Obj> | |
</MS> | |
</Obj> | |
</Objs> | |
'@ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment