Scripting Blog [archived]

Formerly known as the "Hey, Scripting Guy!" blog

Weekend Scripter: Remove Non-Alphabetic Characters from String

Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to remove all non-alphabetic characters from a string. Microsoft Scripting Guy, Ed Wilson, is here. This morning I am drinking a nice up of English Breakfast tea and munching on a Biscotti. I know...Biscotti is not a very good breakfast. Oh well. I went to my ...

PowerTip: Replace Characters in String that Is Not Part of Group

Summary: Use Windows PowerShell to replace all characters in a string that is not part of a group.(image)  How can I use Windows PowerShell to remove all the non-alphabetic characters in the following string?           (The single quotation marks are not part of the string.)'({Abcde})'(image)  Create a ...

Use PowerShell to Move Computers Based on IP Addresses: Part 2

Summary: In this blog, Eric Wright revises his script by using Active Directory cmdlets to move computers that are organized in Active Directory, based on their IP addresses. Microsoft Scripting Guy, Ed Wilson, is here. In today’s post, guest blogger, Eric Wright, reprises yesterday’s post to use the Windows Active Directory module...

Use PowerShell to Move Computers Based on IP Addresses: Part 1

Summary: In this guest blog post written by Eric Wright, you will learn how to use the Windows PowerShell snap-in, Quest ActiveRoles, to move computers that are organized in Active Directory, based on their IP addresses. Microsoft Scripting Guy, Ed Wilson, is here. Guest Blogger Weekend continues. Today we have a guest blog written by Eric ...