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

Sep 25, 2011
Post comments count0
Post likes count0

Configure PowerShell Cmdlet Default Values by Using Splatting

Doctor Scripto
Doctor Scripto

Summary: Learn how to use the Windows PowerShell splatting feature to avoid typing repetitive cmdlet parameters.   Hey, Scripting Guy! I am wondering if you can help me. There are some cmdlets that have a lot of parameters. I need to fill these parameters out in order to cause the cmdlet to work properly, but once I have figured out the parame...

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

Send Email from Exchange Online by Using PowerShell

Doctor Scripto
Doctor Scripto

Summary: Guest blogger Mike Pfeiffer shows how to send email messages using Windows PowerShell and Exchange online.   Microsoft Scripting Guy Ed Wilson here. Guest Blogger Mike Pfeiffer recently published a book called Microsoft Exchange 2010 PowerShell Cookbook. Mike has been in the IT field for over 13 years, spending most of his time as an ...

Scripting Guy!Windows PowerShellguest blogger
Sep 23, 2011
Post comments count0
Post likes count0

Use PowerShell to Work with CSV Formatted Text

Doctor Scripto
Doctor Scripto

Summary: See how to use Windows PowerShell to create CSV files from formatted and unformatted text.   Hey, Scripting Guy! I have begun to play around with Windows PowerShell, and it is absolutely the most confusing thing Microsoft has ever created. Simple things are easy. I can use Get-Process and Get-Service with no problem, but the moment I ...

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

Format Multilevel Arrays in PowerShell

Doctor Scripto
Doctor Scripto

Summary: Microsoft Scripting Guy Ed Wilson talks about formatting multilevel arrays in Windows PowerShell.   Hey, Scripting Guy! I am having a problem with arrays. I have two-level arrays and they work perfectly when I have the arrays defined on a single line. But when I try to format my script so that it is easier to read, they seem to get me...

Scripting Guy!Windows PowerShellscripting techniques
Sep 21, 2011
Post comments count0
Post likes count0

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