Showing results for string manipulation - Scripting Blog [archived]

Aug 4, 2011
1
0

Use an Easy PowerShell Command to Search Files for Information

Doctor Scripto
Doctor Scripto

Summary: Learn how to use a Windows PowerShell command to search easily for information in a collection of files.   Hey, Scripting Guy! I need to be able to parse multiple files for text that are in a single folder. I hate to have to write a script for such a common task, but I am afraid I will have to do so. Can you help me? —SH   ...

Scripting Guy!Windows PowerShellscripting techniques
Apr 17, 2011
0
0

Using the PowerShell Tokenizer to Find Commands in Text

ScriptingGuy1
ScriptingGuy1

Summary: Microsoft Scripting Guy, Ed Wilson, shows how to use the Windows PowerShell tokenizer to parse text and identify commands. Microsoft Scripting Guy, Ed Wilson, here. There are still five days for you to submit your entries for the 2011 Scripting Games. Events 1 through 5 are in the bag, but you can still upload scripts for events 6 through ...

Scripting Guy!Windows PowerShellscripting techniques
Oct 28, 2010
0
0

Use Microsoft .NET Framework String Methods from Windows PowerShell

ScriptingGuy1
ScriptingGuy1

  Summary: Microsoft Scripting Guy Ed Wilson teaches how to use .NET Framework string methods from within Windows PowerShell,   Hey, Scripting Guy! There are many things I need to do with strings and with text files that do not seem to be supported with Windows PowerShell. It is strange, but many common operations seem to have been n...

Scripting Guy!Windows PowerShellscripting techniques
Oct 27, 2010
0
0

Use .NET Framework Classes to Work with Strings in Windows PowerShell

ScriptingGuy1
ScriptingGuy1

  Summary: Learn how to use .NET Framework classes to work with strings in Windows PowerShell in this Scripting Guys how-to post.   Hey, Scripting Guy! I have been writing VBScript code for years. One thing I really liked about VBScript was the large number of functions that manipulated strings. I know Microsoft seems to love XML, but the...

Scripting Guy!Windows PowerShellscripting techniques
Aug 31, 2010
0
0

Get Windows Power Plan Settings on Your Computer by Using PowerShell

ScriptingGuy1
ScriptingGuy1

  Summary: Use Windows PowerShell to retrieve the power plan settings for your computer. The Microsoft Scripting Guys show you how.   Hey, Scripting Guy! I need to have a way to easily retrieve the power plan settings for the active power plan on my computer. I would like to have an easy to read display of the setting name, the allowable ...

Scripting Guy!Windows PowerShellscripting techniques