So I have the royalty statement for the PowerShell Deep Dives book for the second quarter of 2015. For those of you who own a copy, thank you. For those of you who aren’t aware, even though I have a royalty statement, that doesn’t mean I got paid. I have the statement because I was…
Where Did the Time Go?
Like many of you the work day just seems to fly by. At the end of the day I start wondering what I really got accomplished and what I actually did all day. Well if you are willing to face the truth I have a way to help. Last year I wrote about a PowerShell…
Mastery Mystery
More to come…
Hyper-V Memory Utilization with PowerShell
I really push the limits of my Hyper-V setup. I know I am constrained by memory and am hoping to expand my network before the end of the year. But in the meantime I have to keep close tabs on memory. I thought I’d share a few commands with you. I am assuming you have…
My Uptime PowerShell Module Published to GitHub
Earlier this year I wrote a PowerShell module to get uptime information. The module was part of a series I wrote for Petri.com. As part of my ongoing project to move some of my more interesting, and hopefully useful, tools to GitHub, I revised the module. The new version makes better use of custom format…
PowerShell Pivot Tables Revisited
A few years ago I wrote a PowerShell function to create an Excel-like pivot table in a PowerShell console. The other day I decided to revisit the function. I was surprised that it didn’t really need too much updating but I did spend some time updating the documentation and adding one new feature. The function…
What’s the Weather?
I have used a PowerShell module I wrote a while ago to retrieve weather information from Yahoo.com. Yahoo offers a set of web APIs which are free to use, that will provide weather information for a given location. The location is determined by a “Where On Earth ID”, or woeid. Fortunately, there are APIs to…
PowerShell Summit Europe 2015 Presentations
Last week I gave two presentations at the European edition of the PowerShell Summit held in beautiful Stockholm, Sweden. If you weren’t able to attend, you can still enjoy the sessions because everything was recorded. Session recordings for the entire conference can be found on PowerShell.org’s YouTube channel. I thought I would post something here…
For He’s A Jolly Good Fellow
By now I’m assuming most of you have seen or heard the news that Jeffrey Snover has been promoted for the last time and is now a Technical Fellow at Microsoft. I want to add my congratulations and adulation to the thundering masses of PowerShell professionals. I always thought his previous position as a Distinguished…
What Were You Working On?
It probably comes as no surprise that I write a lot of PowerShell code. Like you, I’m usually working on several projects at the same time, most often using the PowerShell ISE. When I fire up the PowerShell ISE I often go to most recently edited files and re-open the files I was last working…
Updated PowerShell Formatting Functions
Last year I posted an article and a set of PowerShell functions to make it easier to format values. For some reason, I decided to revisit the functions and ended up revising and extending them. I modified Format-Value so that you can format a number as a currency or a number. Format-Value help (Image Credit:…
Veeam Whiteboard and PowerShell
I’ll be live next week talking about PowerShell principles and concepts as part of the Veeam Whiteboard series. Should be a lot of fun. I hope you’ll catch it live or on demand. You can learn more and register for free at http://www.veeam.com/veeamlive/powershell-paradigm-principles-practice.html
Teeing Up to the Clipboard
Because I spend a great part of my day creating PowerShell related content, I often need to copy command output from a PowerShell session. The quick and dirty solution is to pipe my expression to the Clip.exe command line utility. get-service | where { $_.status -eq ‘running’} | clip This works in both the console…
An Improved Get-Verb Command
A recommended best practice for PowerShell scripting, especially when developing functions, is to follow the standard Verb-Noun naming convention. The Verb should be a value from the list of approved .NET verbs. The easy way to see that list is with the Get-Verb cmdlet. The result will also indicate the verb group or category like…
More Power Scotty!
Many of you have seen my travel with my Yoga 2 Pro laptop and a Gigabyte Brix running Hyper-V with 16GB of RAM and a 240GB msata drive. I use these rigs for demos when traveling and they also provide me with a test domain network. But lately I’ve started feeling some constraints. Even though…