Scripting Blog [archived]

Formerly known as the "Hey, Scripting Guy!" blog

PowerTip: Find if Variable Is Array

Summary: Use Windows PowerShell to find if a variable is an array. (image)  How can I use Windows PowerShell to find if a variable contains an array? (image)  Use the –is operator, and test to see if it is a type of [array], for example: $a = 1,2,4,5,6,7 $a -is [array] (image...

Use PowerShell to Find Palindromes

Summary: Ed Wilson, Microsoft Scripting Guy, talks about using Windows PowerShell to find palindromes. Microsoft Scripting Guy, Ed Wilson, is here. I enjoy playing around with words. I like words that sound similar to each other, such as to, too, and two. I also like words that look alike, and sound alike but have different meanings depending ...

Weekend Scripter: Exploring PowerShell Arrays

Summary: Ed Wilson, Microsoft Scripting Guy, talks about Exploring Windows PowerShell arrays. Microsoft Scripting Guy, Ed Wilson, is here. One of the problems I had with Windows PowerShell when I first learned it was handling arrays. Why? Because they were so easy. Well, they are easy, but they are also a bit confusing. Why? Because Get-Member...