Posts Tagged ‘XML’

Inventory Report to XML

Thursday, June 18th, 2009 by Jeffery Hicks
Lately I seem to be answering a number of PowerShell XML related questions. When that happens I figure its time for an example. I have a script that I think originally was posted in a forum. I apologize that I didn't note where it came from. But I've enhanced it (as I am likely to do). The script reads a bare bones XML file of computernames and builds a new XML file with inventory information such as operating system, computer system, logical disks and more retrieved from WMI. My script will hopefully serve as examples for working with XML files. I also use Write-Progress so that you can track what the script is doing.   More »

Creating XML Configuration Files the PowerShell Way.

Tuesday, May 26th, 2009 by Jeffery Hicks
Several weeks ago I posted an entry on creating configuration files. This same technique can also work with XML files. I'm still working on a more advanced technique but wanted to share this simpler approach.   More »

Product Highlight – PrimalSQL and PrimalXML Example

Tuesday, March 24th, 2009 by David Corrales
In this blog, I will demonstrate how to use the features of PrimalSQL and PrimalXML to accomplish sample tasks. In this example, I will need…   More »

Get TweeterTagged User

Thursday, February 5th, 2009 by Jeffery Hicks
If you use Twitter and like to script, especially in PowerShell, then I think you'll like this. A new site, TweeterTags.com has launched that allows you to tag your Twitter profile. The upshot is that this makes it easier to discover like-minded individuals. So let's say I want to find all the PowerShell tagged users, here's how I can do it directly from PowerShell with a simple script.   More »

PrimalXML 2009 Ready for Beta

Thursday, January 22nd, 2009 by David Corrales
PrimalXML is now available for beta testing as part of our 2009 lineup of new tools. PrimalXML is the must have tool for the user…   More »

Export-PSCredential

Monday, July 21st, 2008 by Jeffery Hicks
Hal Rottenberg has put together a very nice set of functions for exporting and importing PSCredential to a file. The export function takes a PSCredential and serializes it to an XML file. The corresponding import function reconstitutes the PSCredential to an object that you can use. Now before you start freaking out about security, the xml file can only be used by the same user account that created it. What I like about this is that I can now have multiple credentials easily stored for different computers. I'm no longer tied to using one credential.   More »

Get-Tweet

Friday, June 27th, 2008 by Jeffery Hicks
Since I find myself spending so much time in a PowerShell console, I'm always trying to find ways to stay. I recently posted my version of a PowerShell script to send a message to Twitter. But that's only half the story. If I want to check for recent tweets I have to switch to Firefox and the use the Twitterfox addon. But since everything in Twitter comes via a web page or RSS feed, it is pretty simple to use the System.Net.Webclient class in a PowerShell script to get what I want. To that end I wrote a function called Get-Tweet to return recent tweets.   More »


Entries (RSS) and Comments (RSS).