Automation

 View Only
  • 1.  How to manage VM Ware Infrastructure Using Wnidows Power Shell

    Posted Feb 06, 2013 09:21 AM

    Hi,

    can any one post link of any pdf/blog etc that can teach How to manage VM Ware Infrastructure Using Wnidows Power Shell, from basics.

    If anyone have link for this pdf or pdf itself, please share.

    Managing VMware Infrastructure with Windows PowerShell TFM [Paperback]

    http://www.amazon.com/Managing-VMware-Infrastructure-Windows-PowerShell/dp/0982131402

    Thanks

    Ashish



  • 2.  RE: How to manage VM Ware Infrastructure Using Wnidows Power Shell

    Posted Feb 06, 2013 09:42 AM

    Hi,

    there are a lot of realy good blogs.

    http://www.lucd.info/

    http://www.virtu-al.net/

    http://blogs.vmware.com/vipowershell/

    and more

    Frank



  • 3.  RE: How to manage VM Ware Infrastructure Using Wnidows Power Shell

    Posted Feb 06, 2013 02:20 PM

    Thank You very much Frank.

    Can you please tell me if Power CLI and Windows Power Shel both are different or same.

    And if both are different then which one is better to develop scripts for automation like inventory reports etc.

    Thanks

    Ashish



  • 4.  RE: How to manage VM Ware Infrastructure Using Wnidows Power Shell

    Posted Feb 06, 2013 02:39 PM

    PowerShell is the scripting language from Microsoft for the Windows environment.

    PowerCLI is a so-called snapin, on top of PowerShell, provided by VMware that allows you to manage your vSphere environment.

    So you need both to automate your vSphere environment



  • 5.  RE: How to manage VM Ware Infrastructure Using Wnidows Power Shell
    Best Answer

    Posted Feb 06, 2013 03:00 PM

    Hi,

    Luc describe it.

    Window Powershell is installed in windows server 2008 and above. For other operating systems from MS, you could download it on microsoft support site.

    The VMware PowerCLI could you find here

    https://my.vmware.com/web/vmware/details?productId=285&downloadGroup=VSP510-PCLI-510

    Frank



  • 6.  RE: How to manage VM Ware Infrastructure Using Wnidows Power Shell

    Posted Feb 06, 2013 02:30 PM


  • 7.  RE: How to manage VM Ware Infrastructure Using Wnidows Power Shell

    Posted Feb 06, 2013 07:54 PM

    Frank, LucD

    Thanks   guys for all you views. These were very helpful. Now the picture is clear in my mind.

    Please correct me if I am wrong, what I understood from your links is that Powershell and PowerCLI both are different things. PowerCLI provides the capability to manage the VSphere Env via script  but use Powershell as a base to execute command, as PowerCLI uses cmdlets of Powershell.

    So instead of learning PowerShell separately, I should start learning PowerCLI, and I will get to know about PowerShell itself, as much we need PowerShell for automating the VSphere Env.

    Am I right?

    Thanks

    Ashish



  • 8.  RE: How to manage VM Ware Infrastructure Using Wnidows Power Shell

    Posted Feb 06, 2013 10:27 PM

    Yes, but I would suggest a small change in your plan.

    First get used to some of the basics of PowerShell (some basic cmdlets, objects, the pipeline), then with that basic PowerShell knowledge start digging into PowerCLI.

    I have collected some learning resources, several of which are free, in my My PS library post.

    Another good resource of links is Josh's Resources for Getting Started with #PowerCLI Automation post.



  • 9.  RE: How to manage VM Ware Infrastructure Using Wnidows Power Shell

    Posted Feb 07, 2013 02:03 PM

    Sure Lucd.

    Thank you very much for your suggestion and links.

    I will defenately work on your advise.

    Thanks a bunch!!

    Ashish