↧
Emit-XML (powershell v1)
A while ago the Windows Powershell Blog described a function to generate xml on the fly. Here is the v1 version of the function I often use: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23...
View ArticleInfer XSD from XML
A quick and dirty way to infer an xml schema from an xml file: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 <# .SYNOPSIS Infers an xml schema from an xml...
View ArticleCreating Excel tables on the fly
When I need to get the output of a one-liner quickly to an excel file, I often use this (xml)xls generating function. # Example Use: get-process | select name, handles | convertto-xls | out-file ps.xls...
View Article