Options
PoSh for VMware scripts
I don't really trust scripts taken from Google, especially when it's beyond my current comprehension. Same with cooking recipes; they just look bogus.
It's another case of "I can't believe they expect me to do this" at work and I plan to automate some of the monthly reporting crap being asked of me, so:
Can anyone recommend books/sources for scripting in VMware. I'm just looking to harvest data at the moment (how many hosts, VMs, datastore, vitalstats, when created, logs, etc) but will want to perform more tricks later on if I can get a VM infrastructure gig.
It's another case of "I can't believe they expect me to do this" at work and I plan to automate some of the monthly reporting crap being asked of me, so:
Can anyone recommend books/sources for scripting in VMware. I'm just looking to harvest data at the moment (how many hosts, VMs, datastore, vitalstats, when created, logs, etc) but will want to perform more tricks later on if I can get a VM infrastructure gig.
Comments
-
OptionsRobertKaucher Member Posts: 4,299 ■■■■■■■■■■What level are you at right now with PoSh? If you have decent amount of skill just learning the VMWare specific commands might be enough. I would say grab some scripts and examine them while going through a good PoSh text.
Amazon.com: Windows Powershell in Action, Second Edition (9781935182139): Bruce Payette: Books
Amazon.com: VMware vSphere PowerCLI Reference: Automating vSphere Administration (9780470890790): Luc Dekens, Alan Renouf, Glenn Sizemore, Arnim van Lieshout, Jonathan Medd: Books
Amazon.com: Windows PowerShell 2.0 Best Practices (Best Practices (Microsoft)) (9780735626461): Ed Wilson: Books -
Optionsmikedisd2 Member Posts: 1,096 ■■■■■□□□□□I'm mostly a scriptor when the job calls for it, which I then become an absolute code monkey. Then I forget it as I go onto something else. Currently in managed services so there's never any time to work on ways to save time.
I'll look into those books as I need another resource anyhow, cheers.