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 use Windows PowerShell to determine if a path is to a file or a folder.
(image) How can I use Windows PowerShell to determine if a path is to a file or a folder?
(image) Use the Get-Item cmdlet to get the object represented by the path. Then use the –Is operator to see if the &...
Summary: Use Windows PowerShell to parse a folder that contains data dumps.
Microsoft Scripting Guy, Ed Wilson, is here. This morning I got up, and headed to the Farmers Market in town. I picked up a fresh melon for breakfast and some locally made cheese. Melon and cheese with a nice up of English Breakfast tea…not a bad meal.
I am ...
Summary: Use Windows PowerShell to set the primary and secondary DNS server addresses for a client.
(image) I recently changed the IP address scheme for an entire subnet. How can I use Windows PowerShell to set the primary and secondary DNS server addresses for the client workstations?
(image) &...
Summary: Learn about a Windows PowerShell function you can use to clean up data prior to import.
Microsoft Scripting Guy, Ed Wilson, is here. We are entering the Labor Day weekend in the United States today. Labor Day is a sad holiday, but it is also a happy time. It is sad because it traditionally marks the end of summer. It is happy because ...
Summary: Learn how to hide common code in the Windows PowerShell ISE.(image) How can I hide related code in the Windows PowerShell ISE to make it easier to troubleshoot and to read?(image) Open the ISE, and in the script pane, begin a section with the #Region tag and a name. Then ...