In my past life I used to program dBase and Foxpro. I am the sort of programmer that is kind of lazy, and I like looking for samples of code and then working by code around it, or using the sample to get an Idea how to do stuff.
Typically I use msdn and a number of blogs as my main source of stuff. That was until I found the Windows PowerShell Cookbook.
Lee Holmes has created a book that is just what I want and need. It gives me a description of things I would want to do with PowerShell and then working sample code. It is a god send.
Today examples are how can I get perfmon counters from another machine using PowerShell? That would be on Page 270 [Hint: New-Object System.Diagnostics.PerformanceCounter <object>,<counter>,"",<Server>]. Oh What about remote eventlogs? Page371 [Hint: New-Object Diagnostics.Eventlog <Eventlog>,<ServerName>]
If you are looking for something to buy someone who is interesting in Windows PowerShell I can recommend this book cos it rocks! well done Lee!
Check it out here: http://www.amazon.co.uk/s/ref=nb_ss_w_h_?url=search-alias%3Daps&field-keywords=PowerShell+Cookbook&Go.x=9&Go.y=12
No Comments