I was having a little difficulty with PowerShell remoting the other day and a colleague of mine dug up a link to a forthcoming book entitled “PowerShell Deep Dives” by Jeffery Hicks, Richard Siddaway, Oisin Grehan, and Aleksandar Nikolic.
Chapter 1 of the book, “Diagnosing and troubleshooting PowerShell remoting“, is available via the publisher’s website as a preview chapter and was very useful in solving my issue. The rest of the book looks like it will be interesting too if the chapter headings are anything to go by. Apparently it should be released this Spring.
A few times in the last few weeks I’ve been asked if it’s worth learning PowerShell. My answer is always “yes”. Rather than repeat myself too often I thought I’d make a post out of it.
But first, an apology. I met a chap at vBeers in London about 6 weeks ago. His background was more UNIX than Windows but he recognised that PowerShell was something that he’d have to learn a bit about. At the time I did promise to send him a few useful links to get started. As you might have guessed, I didn’t do it.
So… Jeff, I’m sorry.
For the benefit of Jeff and anyone else, here are some places to start when it comes to PowerShell and also PowerCLI (VMware’s extension cmdlets to PowerShell for managing their products). Continue Reading
A question came up in yesterday’s “Chad’s Choice” webcast about choosing which hosts in a cluster would be configured as HA primary nodes. I’m not going to go into any great detail here about what HA primary nodes are because there is a more comprehensive article on HA freely available over on the Yellow Bricks blog of Duncan Epping.
The short answer to whether or not you can choose HA primary nodes is a simple “no”. It’s not possible.
Things are rarely simple though. Technically it is possible (again see Duncan’s HA deepdive page for details) but, and this is important, manually choosing HA primaries is not supported – even experimentally.
The good news though for anyone who wants to know which hosts are their HA primaries is that there is now a dead simple way to find out. As of PowerCLI 4.1.1 there is a nice new cmdlet available. Getting a list of HA primaries is as simple as:
[ps]Get-HAPrimaryVMHost -Cluster <Cluster Name>[/ps]
It’s not the speediest of cmdlets but it does work. See below:
I try to avoid news type postings like this if I can – there are plenty of other blogs out there that do it without me joining in – but this is exciting geeky stuff!
I like PowerShell, clever stuff. I should use it more than I do but some fool only put 24 hours in the day! I digress…
So, those nice folks over at EMC have had some of their own cmdlets for a while that have been used internally. Now though they are being released for people like you and me to play with – I mean use – in anger.
So in answer to my question, it seems that nobody has to die in order for me to get my hands on them.
Now, if only I wasn’t working in a NetApp environment… 🙁
The cmdlets can be grabbed from here and Chad (@sakacc) has posted about them here. If you are able, please give feedback on the cmdlets so they can make them even better!