Showing results for TYPE:XML - PowerShell Team

Jun 17, 2007
Post comments count0
Post likes count0

Using a DSL to generate XML in PowerShell

Steve Lee
Steve Lee

A while back, Jeffrey posted an article on how to use string expansion and XML casts to build XML documents in-line in a PowerShell script: http://blogs.msdn.com/powershell/archive/2007/05/29/using-powershell-to-generate-xml-documents.aspx The overall feel of the approach that Jeffrey described is very much like that of ASP, JSP, PHP on any of th...

PHILOSOPHYLANGUAGETYPE:XML
Apr 25, 2006
Post comments count0
Post likes count0

Sunday morning drive with my hair on fire: Types/Community/Synthetic types/Democracy/Cool XML tricks

PowerShell Team
PowerShell Team

Exploring types is a pain! Monad provides Get-Member which makes it pretty nice to explore an OBJECT but if you want to explore that object's type, you have to use the capabilities of the System.RuntimeType class. Let me make that distinction a little clearer.  Imagine that I've got some xml:$x=[XML]"<a><b>TEST</b><a>" ...

FAQDOTNETCMDLET