Showing results for string manipulation - Scripting Blog [archived]

Oct 10, 2011
0
1

Cool PowerShell Game Teaches Cmdlet Names

Doctor Scripto
Doctor Scripto

Summary: Learn Windows PowerShell cmdlet names by taking the Dr. Scripto Challenge. Microsoft Scripting Guy Ed Wilson here. The Scripting Wife and I are on a road trip in Canada. We had a wonderful time in Toronto with Windows PowerShell MVP Sean Kearney. Now we are heading to Ottawa where we plan to meet with Windows PowerShell MVP Kirk Munro...

Scripting Guy!Windows PowerShellscripting techniques
Sep 21, 2011
0
0

Two Simple PowerShell Methods to Remove the Last Letter of a String

Doctor Scripto
Doctor Scripto

Summary: Learn two simple Windows PowerShell methods to remove the last letter of a string.   Hey, Scripting Guy! I have, what should be a simple question. I need to be able to remove only the last character from a string. For example, if I have a string the scripts, I want the string to be the script instead. If I have the number 12345, I wan...

Scripting Guy!Windows PowerShellscripting techniques
Sep 9, 2011
0
0

Convert Hexadecimal to ASCII Using PowerShell

Doctor Scripto
Doctor Scripto

Summary: Superhero BATCHman defeats evil Hextor and converts hexadecimal to ASCII to retrieve passwords.   Microsoft Scripting Guy Ed Wilson here. Sean Kearney is back again, and this time he delivers Episode 7 of the BATCHman series.   Whenever trouble happens in systems and people will call, And darkness rolls out causing your fall, Cr...

Scripting Guy!Windows PowerShellscripting techniques
Aug 24, 2011
0
0

Use PowerShell to Convert Date Formats Easily

Doctor Scripto
Doctor Scripto

Summary: Microsoft Scripting Guy Ed Wilson discusses four different techniques for using Windows PowerShell to convert date formats.   Hey, Scripting Guy! I have a problem. Although I am sure you hear this a lot, this problem is causing me a major problem at work. Here is the deal. We are a large company and we have operations both in the Unit...

Scripting Guy!Windows PowerShellscripting techniques
Aug 5, 2011
0
0

Use PowerShell to Open Files That Contain Matching Words

Doctor Scripto
Doctor Scripto

Summary: Learn how to use Windows PowerShell to search a folder for matching strings and to open them automatically in Notepad.   Hey, Scripting Guy! I have been enjoying using the Select-String cmdlet, but I have a question. When I use Select-String, it lists the file that it finds the match in, but I have to copy and paste from there in orde...

Scripting Guy!Windows PowerShellscripting techniques