In this post : How Do I Set Indexes in AD DS or AD LDS? How Do I Remove Windows PowerShell 1.0? Please Help Me Troubleshoot This VBScript Script! Can I Get an Offline Copy of All Exchange 2010 Articles on TechNet? How Do I Set Indexes in AD DS or AD LDS...(read more)
↧
Quick-Hits Friday: The Scripting Guys Respond to a Bunch of Questions (7/23/10)
↧
Weekend Scripter: Where.exe—The What, Why, and How
Microsoft Scripting Guy Ed Wilson here. The sounds outside seems amplified by the inky darkness that grudgingly gives way to the early morning sun. I am sitting on the front porch sipping a cup of English Breakfast Tea, munching on a freshly baked cinnamon...(read more)
↧
↧
Windows PowerShell, Invalid Certificates, and Automated Downloading
Summary : If a trusted website has an expired or self-signed certificate, you must ignore the error to use Windows PowerShell with the website. Microsoft Scripting Guy Ed Wilson here. Years ago I used to teach MCSE training classes and one of my favorites...(read more)
↧
Parsing an AuditPol.exe Report with Windows PowerShell 2.0
Hey, Scripting Guy! I have been using AuditPol.exe to verify the audit policy that is configured on our network. The problem is that the report that is generated has a lot of text, and it is not easy to see exactly what is being audited or not. Is it...(read more)
↧
Deleting Extra Returns and Line Feeds from a Text File Using Windows PowerShell
Hey, Scripting Guy! Is it possible to use Windows PowerShell to groom a text file by deleting extra returns and line feeds it may contain? Here is the deal. I have a file that we need to download each day. This file contains updated prices for...(read more)
↧
↧
Writing Double Quotation Marks to a Text File Using Windows PowerShell
Hey, Scripting Guy! I need to be able to write double quotation marks to a text file using Windows PowerShell . I know that in VBScript it was really annoying to do this because the quotation marks ended up getting confused with the quotation mark that...(read more)
↧
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...(read more)
↧
Quick-Hits Friday: The Scripting Guys Respond to a Bunch of Questions (7/30/10)
In this post : How Can I Learn to Script? Troubleshooting a WMI Issue How Can I Get the Microsoft Script Debugger to Work? Choosing Between the 64-bit and x86 Versions of Windows PowerShell How Can I Learn to Script? Hey, Scripting Guy! I am working as...(read more)
↧
Using Windows PowerShell to Determine if a Laptop Is on Battery Power
Microsoft Scripting Guy Ed Wilson here. It is time for another road trip. This time we are heading to Ashville, North Carolina for the Blue Ridge Classic Horse Show. Somewhere deep in my Scripting Guy lineage is an association with Kentucky , which...(read more)
↧
↧
Using Windows PowerShell to Work with Numbers
Microsoft Scripting Guy Ed Wilson here, the hotel we are using this weekend has free wireless access points setup throughout the facility. I decided to take my laptop with me as I headed downstairs to get some breakfast. The horse show does not begin...(read more)
↧
Using Windows PowerShell to Work with Dates
Hey, Scripting Guy! I need to be able to use Windows PowerShell to work with dates. Dates have always been a difficult thing to work with, and I just dread scripting anything that has to do with dates. It seemed that VBScript had a dozen functions that...(read more)
↧
TechEd Trip Reports from 2010 Scripting Games Winners, Glenn and Boe
It seems like only yesterday that we were meeting Glenn Sizemore and Boe Prox at Tech · Ed 2010 North America in New Orleans. What? It was more than six weeks ago? Oh, right. Moving on... We asked Glenn and Boe if they would write brief trip reports...(read more)
↧
How to Express Dates in Different Fashions with Windows PowerShell
Hey, Scripting Guy! I need to use Windows PowerShell to be able to parse dates. We have dates that are displayed in different ways. Some are day/month/year, others are month/day/year, and still others are year/month/day. I need to be able to express...(read more)
↧
↧
Manipulating Date Ranges with Windows PowerShell
Hey, Scripting Guy! I need to be able to add and subtract dates so that I can use the results in custom queries for various Windows event logs using Windows PowerShell . Is doing this type of date manipulation easy or hard to do with Windows PowerShell...(read more)
↧
Manipulating Dates Returned by Windows Management Instrumentation (WMI)
Hey, Scripting Guy! I need to understand how to work with dates that I receive from Windows Management Instrumentation ( WMI ). I remember in VBScript I had to use a function I got from the Scripting Guys that did string manipulation to convert the WMI...(read more)
↧
Top 100 Scripts in Script Repository
Ever wonder what the most popular scripts in the Script Repository are, but are tired of paging through to see them all? Hey, how about a list? Here you go! The #1 script was written by Windows PowerShell MVP and all-around good guy, Sean Kearney. Good...(read more)
↧
Quick-Hits Friday: The Scripting Guys Respond to a Bunch of Questions (8/6/10)
In this post : How Can I Transfer a Folder from Novel Netware to Windows Server 2008? Why Can't I Run This Script You Guys Wrote? How Can I Clear an Attribute in Active Directory? How Can I Transfer a Folder from Novel Netware to Windows Server 2008?...(read more)
↧
↧
Weekend Scripter: Boot Tracing with Windows PowerShell
Microsoft Scripting Guy Ed Wilson here. There used to be a really cool tool available in the Windows Driver Development Kit (DDK) that was called bootvis.exe. I used to use it to create a boot trace for my Windows XP computer. This tool was useful because...(read more)
↧
Weekend Scripter: Automatically Collecting Process Snapshots
Microsoft Scripting Guy Ed Wilson here. It may seem like a “well duh” thing for a Scripting Guy to say, but I love writing scripts. In particular, I love writing Windows PowerShell scripts. One problem with sharing everything I write is that...(read more)
↧
How Do I Use a Windows PowerShell Script Containing Functions?
Summary : Using a script containing Windows PowerShell functions can be as simple as dot-sourcing the script. Hey, Scripting Guy! I was looking in the Script Center Script Repository for Windows PowerShell scripts, and I found one that was really cool...(read more)
↧