Scripting Blog

A place to learn about PowerShell and share stories of automation

Use PowerShell to Normalize Names Before Data Import

Summary: Use Windows PowerShell to normalize names before importing data. Microsoft Scripting Guy, Ed Wilson, is here. I have been reading Jane Austen Northanger Abbey this week in the evenings. I really love the way Jane Austen develops her characters. I also like some of the ways the characters express themselves. For example, “Give me...

A PowerShell Function to Count String Length

Summary: Microsoft Scripting Guy, Ed Wilson, talks about creating a Windows PowerShell function that counts a string length and copies it to the clipboard. Microsoft Scripting Guy, Ed Wilson, is here. It is hot and humid outside—89 degrees Fahrenheit (32 degrees Celsius) and 75% humidity. That was the great thing about Madrid. Whereas, ...

Multiply PowerShell Strings to Customize Text Underlines

Summary: Create a Windows PowerShell function that accepts pipelined input and creates a variable length underline that uses various characters. Microsoft Scripting Guy, Ed Wilson, is here. One of the things I really enjoy doing is reading the comments that are posted by various people on the Hey, Scripting Guy! Blog. Although I do not respond...

Use PowerShell String Techniques to Create User Names for Active Directory

Summary: Microsoft PowerShell MVP, Sean Kearney, shows how to use Windows PowerShell string techniques to create user names for Active Directory. Microsoft Scripting Guy, Ed Wilson, is here. It is time for PowerShell in Blueville Part 3 with Honorary Scripting Guy and Windows PowerShell MVP, Sean Kearney. WooHoo… So where we did go? ...

Use PowerShell Parameter Attributes to Avoid Errors

Summary: Use Windows PowerShell parameter attributes to avoid input errors in a function.   Microsoft Scripting Guy Ed Wilson here. This week is great. The Scripting Wife and I are enjoying meeting Windows PowerShell luminaries. I am working with a group of IT pros to help them to learn Windows PowerShell, and the weather has been ...

Feedback usabilla icon