-
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...
-
I have to say it – after seeing Jim Christopher‘s StudioShell talk at devLink this past year, I think it’s been my most favorite Visual Studio tool so far. I get to use my PowerShell knowledge to help script stuff out, saving my teammates...
-
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...
-
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...
-
When you write objects to the pipeline in Windows PowerShell, at the end of the pipeline PowerShell’s formatting system handles displaying the results to the console. It accomplishes this by using a set of rules stored in XML configuration files...
-
I saw a tweet this morning that was a PowerShell one-liner for capturing folder permissions to a text file. There’s nothing wrong with it but it’s hard to be truly productive in 140 characters so I thought I would take … Continue reading...
-
The GroupPolicy module from Microsoft offers a great deal of functionality from a command line. In terms of regular maintenance or administration it is pretty hard to beat, especially if you have 100s or 1000s of GPOs. When you have … Continue reading...
-
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...
-
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...
-
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...
-
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...
-
I’ve been playing a bit this week with XML and PowerShell. As you no doubt know, PowerShell has first class XML support built in. To see more about that, see Tobias’s Ebook Chapter on XML and PowerShell . My task this week was to work with attributes...
-
< # .SYNOPSIS This script adds an attribute to an XML node .DESCRIPTION This script creates a simple XML document and sets an attribute on a node. The script displays the before and after results, and ...
-
< # .SYNOPSIS This script retrieves an attribute from an XML Element .DESCRIPTION This script first creates an in -memory XML document, then used the HasAttribute and GetAttribute to retrieve an attribute...
-
< # .SYNOPSIS This script re-implements an MSDN Sample in PowerShell .DESCRIPTION This script creates and manipulates an XML Document .NOTES File Name : Get-XMLNode.ps1 Author ...