Showing tag results for Strings

Oct 7, 2015
Post comments count0
Post likes count0

Dude, a String Is a String in PowerShell

Doctor Scripto

Summary: Ed Wilson, Microsoft Scripting Guy, talks about using string methods to determine null or empty in Windows PowerShell.  Hey, Scripting Guy! I have a problem with a script. It is used to write data to another application, but sometimes the variables in it are empty. I have tried to detect this by checking to see if the variable is equa...

Scripting Guy!Windows PowerShellscripting techniques
Sep 25, 2014
Post comments count0
Post likes count0

Analyzing PowerShell Script Files

Doctor Scripto

Summary: Learn how to analyze Windows PowerShell script files. Microsoft Scripting Guy, Ed Wilson, is here. This morning I am sitting around sipping a cup of English Breakfast tea. I added some peppermint, spearmint, lemon grass, licorice root, and a cinnamon stick to the pot. The result is a very refreshing cup of tea. I am sitting on the back por...

Scripting Guy!Windows PowerShellscripting techniques
Sep 24, 2014
Post comments count0
Post likes count0

Use Select-String Cmdlet in PowerShell to View Contents of Log File

Doctor Scripto

Summary: Use the Windows PowerShell cmdlet, Select-String, to view the contents of a log file.  Hey, Scripting Guy! I have a log file that I created by dumping process information from Get-Process. It is quite long, and I am trying to use Select-String to find the number of instances of a certain process. The problem is that when I find the in...

Scripting Guy!Windows PowerShellscripting techniques
Sep 23, 2014
Post comments count0
Post likes count0

Fun Formatting Ones—Part 2: The Method

Doctor Scripto

Summary: June Blender explains Doug Finke's multiplication and formatting trick. Today...the method. Microsoft Scripting Guy, Ed Wilson, is here. This is the second part of a two-part series written by June Blender, Honorary Scripting Guy. In the first part, Fun Formatting Ones—Part 1: The Task, we discussed the task of printing Doug's multip...

Scripting Guy!Windows PowerShellscripting techniques
Sep 22, 2014
Post comments count0
Post likes count0

Fun Formatting Ones—Part 1: The Task

Doctor Scripto

Summary: June Blender explains Doug Finke's multiplication and formatting trick. Today...the task. Microsoft Scripting Guy, Ed Wilson, is here. Today, Honorary Scripting Guy, June Blender, examines a multiplication and formatting trick that Doug Finke posted on the PowerShell Facebook page. I've broken this article into two parts: Part 1:...

Scripting Guy!Windows PowerShellscripting techniques