Showing results for March 2011 - Page 2 of 6 - Scripting Blog [archived]

Mar 23, 2011
0
0

Use PowerShell to Look for Phone Numbers in Text

ScriptingGuy1
ScriptingGuy1

Summary: The Scripting Wife learns how to use a regular expression pattern to look for phone numbers in text files. Microsoft Scripting Guy, Ed Wilson, here. I am looking over some of the slide decks from the Columbia, South Carolina SQL Saturday #70 event. There were a couple of really good Windows PowerShell sessions during the day (including the...

Scripting Guy!Windows PowerShellscripting techniques
Mar 22, 2011
0
0

Scripting Wife Uses PowerShell to Get Lines from a File

ScriptingGuy1
ScriptingGuy1

Summary: The Scripting Wife learns how to use Windows PowerShell to get specific lines from a text file. Microsoft Scripting Guy, Ed Wilson, here. As the Windows PowerShell 2011 Scripting Games edge forward in the conscious minds of intrepid scripters from around the world, the event continues to grow in size, complexity, and importance in my own m...

Scripting Guy!Windows PowerShellgetting started
Mar 20, 2011
0
0

Scripting Wife Uses Regular Expressions to Match a String

ScriptingGuy1
ScriptingGuy1

Summary: On the road to the 2011 Scripting Games, the Scripting Wife learns about regular expressions and string matching. Weekend Scripter Microsoft Scripting Guy, Ed Wilson, here. The Scripting Wife and I decided to head to Hilton Head Island (no relation to Paris Hilton; and therefore, no teacup Chihuahuas around) for the weekend. One of nice t...

Scripting Guy!Windows PowerShellscripting techniques
Mar 19, 2011
0
0

Scripting Wife Uses PowerShell to Get Days Until NCAA Final Four

ScriptingGuy1
ScriptingGuy1

Summary: The Scripting Wife learns how to use Windows PowerShell to determine the number of days until the NCAA championship game. Microsoft Scripting Guy, Ed Wilson, here. It has been an extremely exciting week. I finished writing all of the Windows PowerShell 2011 Scripting Games events, and I emailed them to the guest commentators. In addition, ...

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

Use PowerShell to Detect if a Workstation Is in Use

ScriptingGuy1
ScriptingGuy1

Summary: Learn how to use Windows PowerShell to detect if a workstation is in use prior to performing a reboot   Hey, Scripting Guy! I have a problem in that I need to detect when a user is logged on to a system so that I can patch it and reboot the machine without disrupting the individual. Can this be done very easily? —SG Hello SG, ...