Weekend Scripter: Exploring Palindrome Sentences with PowerShell
Summary: Ed Wilson, Microsoft Scripting Guy, talks about identifying palindromes that are more than a single word.Microsoft Scripting Guy, Ed Wilson, is here. One of the
November 6th, 2015
Summary: Use Windows PowerShell to find if a variable is an array.
How can I use Windows PowerShell to find if a variable contains an array?
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]