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: Ed Wilson talks about adding members to an object with Windows PowerShell to get the week of the year.Microsoft Scripting Guy, Ed Wilson, is here. One of the cool things about Windows PowerShell is that it is configurable. Not merely configurable, but amazingly flexible. For example, when I look at a DateTime object, I see the ...
Summary: Use Windows PowerShell to find the number of hours in a number of days.
(image) How can I use Windows PowerShell to easily figure out how many hours are in 30 days without doing any multiplication?
(image) Use New-TimeSpan to create a timespan object for 30 days. The ...
Summary: Ed Wilson, Microsoft Scripting Guy, talks about breaking the contents of a text file into chunks with Windows PowerShell.
(image) Hey, Scripting Guy! The other day, you tweeted Get First 140 Characters from String with PowerShell. That is fine, but what about the rest of the text? I mean, if I want to break a text file into ...
Summary: Use Windows PowerShell to find your PowerShell host.
(image) How can I use Windows PowerShell to determine what PowerShell host is being used?
(image) Use the Get-Host cmdlet. To get only the name of the host, use the following syntax:
(Get-Host).name
(image...
Summary: Ed Wilson, Microsoft Scripting Guy, talks a bit about the script he wrote to translate pirate speech by using Invoke-WebRequest.Microsoft Scripting Guy, Ed Wilson, is here. Today I present a video where I talk a bit about my script to submit data to a webpage and receive information back from that page. These sorts of web projects ...