Quantcast
Channel: get-command | PowerShell » XML
Browsing latest articles
Browse All 3 View Live

Image may be NSFW.
Clik here to view.

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 Article


Image may be NSFW.
Clik here to view.

Infer 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 Article


Image may be NSFW.
Clik here to view.

Creating 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
Browsing latest articles
Browse All 3 View Live