The “Hey, Scripting Guys!” blog has been retired. There are many useful posts in this blog, so we keep the blog here for historical reference. However, some information might be very outdated and many of the links might not work anymore.
New PowerShell content is being posted to the PowerShell Community blog where members of the community can create posts by submitting content in the GitHub repository.
Summary: Learn how to easily find the version of Windows PowerShell, CLR, and WSMan.(image) How can I use Windows PowerShell to identify the version of Windows PowerShell that is running on my system?(image) Use the $PSversionTable automatic variable (you can use Tab expansion to avoid some typing). &...
Summary: Ed Wilson, Microsoft Scripting Guy, talks about why you may want to use the Windows PowerShell ISE instead of the console.Microsoft Scripting Guy, Ed Wilson, is here. I was speaking at a Windows PowerShell user group recently. After the presentation, someone came up to me and said that the Windows PowerShell ISE was rather confusing. ...
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...
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 ...
Summary: Ed Wilson, Microsoft Scripting Guy, talks about generating random letters with Windows PowerShell.
(image) Hey, Scripting Guy! I need to generate a string of random letters. These letters need to be five characters long, and they should be either upper case or lower case. I do not need any numbers or special characters. In fact...