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 create a powerful Windows PowerShell ISE profile by running a single script.
Microsoft Scripting Guy Ed Wilson here. One of the problems with writing a daily blog is that after a while, you end with a huge collection of articles and scripts. When I got a new laptop, and immediately left the country, I was ...
Summary: Learn how to use the Set-WmiInstance Windows PowerShell cmdlet to ease configuration of computers.
(image) Hey, Scripting Guy! I was using the Get-Command cmdlet to look at what things I can do with Windows PowerShell, and I noticed a cmdlet called Set-WmiInstance. I looked at the help, but I don’t get it. What is the big...
Summary: Learn how to use Windows PowerShell to slice and dice WMI data in an easy, SQL-like fashion.
(image) Hey, Scripting Guy! Does the WMI select statement have any other clauses like SQL does? For example, can I just select top 10 * from to get a sample of the collection rather than doing a * for the entire collection?
—UJ
&...
Summary: Learn how to convert easily a semicolon delimited file into a CSV file using Windows PowerShell.
(image) Hey, Scripting Guy! I have a problem at work, and I hope you can help. We have an application that writes one log file every four hours. These log files are formatted with semicolons, which makes them a pain to work with. My...
Summary: Use a super simple, one-line command to remove columns easily from a CSV file using Windows PowerShell.
(image) Hey, Scripting Guy! I have a CSV file from which I need only two of eight columns. Can Windows PowerShell delete certain columns? I have searched the Internet for days with no luck.
—RK
(image) Hello RK,
...