As you should be aware, the next version of PowerShell is open source and cross-platform. You will be able to run PowerShell v6 on Windows, a Mac and select Linux distributions. All of the code is currently in alpha and hosted on the PowerShell GitHub repository. This is also where you can download new builds…
Tag: Invoke-WebRequest
Web Testing with PowerShell
I run a self-hosted WordPress blog here as part of a hosted package. I run this on a very tight budget so I’m pretty sure I share resources with other tenants. This means that sometimes the server is unavailable, usually for only a brief period of time. I have the JetPack WordPress plugin configured to…
Download your Ignite schedule with PowerShell
So I’m starting to get ready for Ignite next week. This year my attendance is down to a single day so I wanted to make sure I got the most out of it. I used the Scheduled Builder to pick some sessions to see on Tuesday. Once that was done I thought I’d export the…
More Fun Getting PowerShell User Groups
A few days ago I posted a PowerShell function to retrieve information about PowerShell user groups. That function returned basic group information like this. Each group on the site has its own page which is what that Link property is for. So it didn’t take much work to use the same techniques as my original…
Friday Fun: What’s My IP
Today’s Friday Fun is a “quick and dirty” solution to the question, “What is my public IP address?” There are plenty of web sites and services you can visit that will display that piece of information. Naturally I want an easy way to get this in PowerShell. Recently I came across a reference to a…
Friday Fun: Read Me a Story
A few days ago, someone on Twitter humorously lamented the fact that I expected them to actually read a blog post. After the laughter subsided I thought, well why does he have to? Perhaps I can make it easier for him. Plus I needed something fun for today. So I put together a PowerShell function…
Friday Fun Color My Web
Awhile ago I posted an article demonstrating using Invoke-Webrequest which is part of PowerShell 3.0. I used the page at Manning.com to display the Print and MEAP bestsellers. By the way, thanks to all of you who keep making PowerShell books popular. My original script simply wrote the results to the screen. But I decided…
Friday Fun: It’s PowerShell, Baby!
The other day I received an email looking for guidance on using Invoke-Webrequest to pull data from a table on a web page. Specifically, he wanted to get the list of popular baby names from http://www.ssa.gov/OACT/babynames/index.html. I gave him some quick tips but figured this would also be another teaching opportunity. Using Invoke-Webrequest with PowerShell…
Friday Fun Get Beer List
Well, another Friday and what goes better with it than beer. Of course I should mix in a little PowerShell as well. I live in the Syracuse, NY area and we have a terrific local brewery, Middle Ages Brewing Company. Not only is there a tasting room, but I can also get growler refills. Middle…
Friday Fun: Scraping the Web with PowerShell v3
We often think about PowerShell v3 as being a management tool for the cloud. One new PowerShell v3 cmdlet that lends substance to this idea is Invoke-WebRequest. This is a handy for retrieving data from a web site resource. It might be a public web site or something on your intranet. For today’s fun I…
Friday Fun: Testing Google Chrome Bookmarks with PowerShell
I was cleaning up and organizing bookmarks in Google Chrome today and decided to find out where they were stored on my computer. I found the Bookmarks file in a local app data folder. Opening it up in Notepad I was pleasantly surprised to discover it is in JSON. Excellent! This gives me an opportunity…