Quantcast
Channel: Hey, Scripting Guy! Blog
Browsing all 3333 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Quick-Hits Friday: The Scripting Guys Respond to a Bunch of Questions (7/23/10)

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...

View Article


Image may be NSFW.
Clik here to view.

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...

View Article


Image may be NSFW.
Clik here to view.

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...

View Article

Image may be NSFW.
Clik here to view.

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...

View Article

Image may be NSFW.
Clik here to view.

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...

View Article


Image may be NSFW.
Clik here to view.

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...

View Article

Image may be NSFW.
Clik here to view.

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...

View Article

Image may be NSFW.
Clik here to view.

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...

View Article


Image may be NSFW.
Clik here to view.

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...

View Article


Image may be NSFW.
Clik here to view.

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...

View Article

Image may be NSFW.
Clik here to view.

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....

View Article

Image may be NSFW.
Clik here to view.

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...

View Article

Image may be NSFW.
Clik here to view.

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...

View Article


Image may be NSFW.
Clik here to view.

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...

View Article

Image may be NSFW.
Clik here to view.

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...

View Article


Image may be NSFW.
Clik here to view.

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...

View Article

Image may be NSFW.
Clik here to view.

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...

View Article


Image may be NSFW.
Clik here to view.

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...

View Article

Image may be NSFW.
Clik here to view.

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...

View Article

Image may be NSFW.
Clik here to view.

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...

View Article
Browsing all 3333 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>