Showing archive results for July 2014

Jul 19, 2014
Post comments count0
Post likes count0

Weekend Scripter: Exploring Powershell Profiles

Doctor Scripto

Summary: Microsoft Scripting Guy, Ed Wilson, explores Windows PowerShell profiles and locations. Microsoft Scripting Guy, Ed Wilson, is here. One of the cool things about the weekend is that it provides two entire days with no meetings, no specific obligations, and it gives me time to think and reflect. This is also a time to play with Windows Powe...

Scripting Guy!Windows PowerShellscripting techniques
Jul 18, 2014
Post comments count0
Post likes count0

PowerTip: Remove Spaces from Both Ends of String

Doctor Scripto

Summary: Learn to use Windows PowerShell to remove spaces from both ends of a string.  How can I use Windows PowerShell to remove spaces at both ends of a string?  Use the Trim method from the System.String .NET Framework class.           In this example, I create a string with a space at ...

Scripting Guy!Windows PowerShellPowerTip
Jul 18, 2014
Post comments count0
Post likes count2

Trim Your Strings with PowerShell

Doctor Scripto

Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to trim strings and clean up data. Microsoft Scripting Guy, Ed Wilson, is here. The Scripting Wife heads out today to spend time with her other passion at the Blue Ridge Classic Horse Show. Unfortunately, I will not get to attend much of that event due to a week of tr...

Scripting Guy!Windows PowerShellscripting techniques
Jul 17, 2014
Post comments count0
Post likes count0

PowerTip: Use PowerShell Split Operator to Break Strings

Doctor Scripto

Summary: Learn how to use the Windows PowerShell Split operator to break up strings.  How can I use Windows PowerShell to break a string at a specific character?  Use the Split operator and specify the character to split on, for example: PS C:\> "this,is,a,string" -split ","

Scripting Guy!Windows PowerShellPowerTip
Jul 17, 2014
Post comments count0
Post likes count0

Using the Split Method in PowerShell

Doctor Scripto

Summary: Microsoft Scripting Guy, Ed Wilson, talks about using the Split method in Windows PowerShell. Microsoft Scripting Guy, Ed Wilson, is here. Dude, dude, dude, (or dudette, as the case may be) I still cannot find my teapot after our move. At least I found my kettle to heat water so I can make tea, but unfortunately, without a teapot, I am stu...

Scripting Guy!Windows PowerShellscripting techniques