Browse by Tags

Tagged Content List
  • Blog Post: Calling XMLDocument Methods in PowerShell

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about calling XMLDocument methods in Windows PowerShell. Microsoft Scripting Guy, Ed Wilson, is here. Today is Friday the 13 th . Cool. Luckily, I do not have to go anywhere tonight around midnight, by the light of a full moon. But I am going to...
  • Blog Post: Calling XML Document Properties from Within PowerShell

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about calling XML document properties from within Windows PowerShell. Microsoft Scripting Guy, Ed Wilson, is here. Craig Liebendorfer is back. No, he is not working on the Hey, Scripting Guy! Blog, but he is working on the Script Center as a whole...
  • Blog Post: Using PowerShell to Explore Structure of an XML Document

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to explore the structure of an XML document. Microsoft Scripting Guy, Ed Wilson, is here. I don’t know about you, but when I decide to script, I often do a cost/benefit analysis. I am not talking about anything...
  • Blog Post: Exploring XML Document by Using the [XML] Type Accelerator

    Summary : Learn how to use the [XML] type accelerator to explore XML documents. Microsoft Scripting Guy, Ed Wilson, is here. The Scripting Wife bought me a pound of English Breakfast tea that she found online somewhere. It is long leaf, robust, and has a hint of earth tones in the bouquet. It makes...
  • Blog Post: Creating an XML Document for Admins

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about creating XML files. Microsoft Scripting Guy, Ed Wilson, is here. I will be the first to admit that I am not a huge fan of XML. I mean, if I can use a CSV file to store and retrieve the information I need, why do I need XML? Well, there are...
  • Blog Post: Understanding XML and XPath

    Summary : Microsoft Scripting Guy, Ed Wilson, explores XML and XPath . Microsoft Scripting Guy, Ed Wilson, is here. One of the things that confused me for a long time about using the Get-WinEvent cmdlet is the difference between the –FilterXPath parameter and the –FilterXml parameters...
  • Blog Post: Using PowerShell to Parse System Log for Windows Updates

    Summary : Learn how to use XML and Windows PowerShell to parse the Windows system event log for Windows updates. Microsoft Scripting Guy, Ed Wilson, is here. Sometimes I come up with a solution, and then I go looking for a problem to fix. Not often, but sometimes. This is usually the result of playing...
  • Blog Post: Data Mine the Windows Event Log by Using PowerShell and XML

    Summary : Microsoft Scripting Guy, Ed Wilson, talks about using Get-WinEvent in Windows PowerShell with FilterXML to parse event logs. Microsoft Scripting Guy, Ed Wilson, is here. Today I am sipping a cup of English Breakfast tea. In my pot, I decided to add a bit of spearmint, peppermint, licorice...
  • Blog Post: Use PowerShell to Simplify Access to XML Data

    Summary : Microsoft Scripting Guy, Ed Wilson, shows how to use Windows PowerShell 3.0 to read XML files. Microsoft Scripting Guy, Ed Wilson, is here. Tomorrow, we have the speaker’s dinner at the house that script built. The Scripting Wife and I have invited all the Windows PowerShell Saturday...
  • Blog Post: Hey, Scripting Guy! How Can I Quickly Check Stocks with Windows PowerShell?

    Hey, Scripting Guy! I have a customized MSN home page. I really like the new layout, but it is rather inefficient to open Internet Explorer, and wait for a few minutes just to check out the latest stock prices. What I need is a Windows PowerShell script that I can use to quickly retrieve my stock information...
  • Blog Post: Hey, Scripting Guy! How Can I Use Web Services?

    Hey, Scripting Guy! I remember reading about things called “Web services” a long time ago. It seems that I do not hear much about these anymore. Do they really exist, and if so what are they good for? -- GK Hello GK, Microsoft Scripting Guy Ed Wilson here. We have had to batten down the hatches...
  • Blog Post: How to Add Data to an XML File Using Windows PowerShell

    Hey, Scripting Guy! I need to be able to use W indows PowerShell t o add data to an XML file. Unfortunately, there is no Add-XML cmdlet available. I thought about using the Windows PowerShell Add-Content cmdlet and trying to write my data to the file, but it never worked correctly. I never could get...
  • Blog Post: Hey, Scripting Guy! Is There an Easier Way to Work with XML Files?

    Hey, Scripting Guy! I have a file that I need to parse. It is an XML file, and it is very ugly. Who in the world ever thought that an XML file would be better than a plain CSV file? Unfortunately, Microsoft seems to be enamored with XML, and I cannot get away from it. Surely, there must be a better way...
  • Blog Post: Use PowerShell to Parse XML Exchange Audit Results

    Summary : Microsoft Scripting Guy, Ed Wilson, shows how to use Windows PowerShell to parse XML-formatted Microsoft Exchange Server 2010 audit reports. Hey, Scripting Guy! I have a problem. The search results that return from the New-AdminAuditLogSearch cmdlet are pretty useless. Looking at all that...
  • Blog Post: Use PowerShell to Find Group Policy RSoP Data

    Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to generate a Group Policy Resultant Set of Policy (RSoP) report. Microsoft Scripting Guy, Ed Wilson, is here. I can tell you that spring is definitely heating up. Not necessarily temperature-wise, but in the world of...
  • Blog Post: Hey, Scripting Guy! How Can I Connect Two Group Policy Objects in Active Directory and Compare Them Offline? (Part 2)

    Hey, Scripting Guy! I need to be able to connect to two Group Policy objects (GPOs) in Active Directory and make an offline copy of the GPOs using Windows PowerShell 2.0 so that I can compare the two objects. I know I can do this using the Group Policy Management Console, but I have several hundred GPOs...
  • Blog Post: Use PowerShell to Simplify Working with XML Data

    Summary : Learn how to use Windows PowerShell to simplify working with XML data. Hey, Scripting Guy! How can I use Windows PowerShell to work with XML? -- FD Hello FD, Microsoft Scripting Guy Ed Wilson here. We are in the middle of Guest Blogger Week , so today your question goes...
  • Blog Post: The Scripting Wife Learns to Use PowerShell to Work with XML

    Summary : In this blog, the Scripting Wife learns how to use Windows PowerShell to work with an XML file. Microsoft Scripting Guy, Ed Wilson, is here. It is only eight days until the kickoff of the 2012 Scripting Games. Tomorrow the signup for the 2012 Scripting Games goes live. I have finished all...
  • Blog Post: Weekend Scripter: Easily Explore XML Files with PowerShell

    Summary: Guest blogger and Microsoft MVP, Sean Kearney, shows how to explore XML files with Windows PowerShell in this beginner how-to article. Microsoft Scripting Guy Ed Wilson here. We have another guest blogger this weekend. Sean Kearney has been working away on his keyboard and is so forthcoming...
  • Blog Post: 2012 Scripting Games Advanced Event 9: Perform an Inventory

    Summary : In Advanced Event 9, you are required to perform a hardware inventory and write the information to an XML file. About this event Division Advanced Date of Event 4/12/2012 12:01 AM Due Date 4/19/2012 12:01 AM ...
  • Blog Post: Use PowerShell to Parse an XML File and Sort the Data

    Summary : In this blog, the Scripting Wife learns how to use Windows PowerShell to parse her books XML files and to find authors and sort titles. Microsoft Scripting Guy, Ed Wilson, is here. Today the registration opens for the 2012 Scripting Games. You can go to the 2012 Scripting Games site on PoshCode...
  • Blog Post: Hey, Scripting Guy! How Can I Use a Web Service to Find Weather for a Specific City?

    Hey, Scripting Guy! I thought your script yesterday was pretty cool, but there is a problem with it. Retrieving the weather from a script is awesome; however, I need to know which cities are available. If I want to know the weather in Sydney, Australia (your example), I am all set. I’m sure you can see...
  • Blog Post: See Why PowerShell Can't Export Some Properties to CSV

    Summary: Learn why Windows PowerShell cannot export certain properties to a CSV file and what to do about it. Microsoft Scripting Guy, Ed Wilson, is here. The other day, Terry Dow posted a comment on my Use PowerShell to Work with CSV Formatted Text blog post. Basically, Terry is asking about exporting...
  • Blog Post: A PowerShell Exchange Best Practices Analyzer XML Parser

    Summary : In this guest blog post, you will learn how to create a Windows PowerShell parser to parse the XML file generated using ExBPAcmd.exe. Microsoft Scripting Guy Ed Wilson here. I want to welcome our Guest Blogger Thiyagu again today. Here is a little about Thiyagu: I am the founder of...