Scripting administrative tasks

Email Alerts

Register now to receive SearchVMware.com-related news, tips and more, delivered to your inbox.
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • VMware Site Recovery Manager: An exclusive look at the future

    In the future, VMware Site Recovery Manager will have host-based replication and other new features. Expert Mike Laverick previews these yet-to-be-released VMware SRM capabilities. 

  • Five must-have vSphere PowerCLI scripts

    The vSphere PowerCLI command line tool can make an administrator's life much easier by automating tedious, repetitive task. Here are five PowerCLI scripts you can't live without. 

  • vSphere CLI (vCLI)

    VMware's vSphere CLI (vCLI) commands are used in a command line interface (CLI) when managing VMware ESX/ESXi infrastructures. 

  • VMware vSphere PowerCLI

    VMware vSphere PowerCLI is a command-line interface (CLI) tool for automating vSphere and vCloud management. 

  • VMware Orchestrator

    VMware Orchestrator is a free vCenter feature that helps automate VMware vCloud Suite, vSphere and other virtualization management system processes. 

About Scripting administrative tasks

The VMware Infrastructure Toolkit, or VI Toolkit, integrates with Microsoft PowerShell to provide easier scripting to VMware admins. Previously, scripting for VMware was done primarily with the SDK, which had a learning curve that some administrators may not have had the time for. For the VMware administrator, PowerShell scripting translates to easier scripting – which means easier task automation and overall VMware infrastructure management.

For example, did you know that you can script the entire creation of a guest OS, and have new guest OSes created by the script in less than 10 minutes? You can also create scripts that take snapshots of all guest OSes on a host server, manage virtual machine hot backups and recovery, or that instruct one VMware ESX server to fail over to another.

This section offers pointers and tutorials on VMware scripting, and some tips explaining how individual scripts work to execute the task at hand.