Skip to the main content.

VMware UseCase - Changing the Status of a VM

In many IT departments, the management of virtual machines within VMware vSphere remains with the system administrators. Often, they are directly involved in creating backups, managing snapshots or even creating VMs.

In our first article we already described how ScriptRunner can support the deployment of new VMs. In this UseCase we want to empower the service desk to perform simple VM tasks like starting or stopping a VMware VM itself.

In the video we show how to include the action from the script and how you can include a scripted query that displays all VMs in your VMware vSphere environment. You can select one or more VMs and limit the action to e.g. restart a VM. This frees up system administrators and increases productivity.

Request demo

Video: VMware UseCase - Changing the Status of a VM


Your Requirements

  • Standardize the VMware VM creation process.
  • Securely delegate VM creation without giving user privileges in VMware vCenter Server.
  • Enforce security and governance policies.
  • Specify a naming scheme for newly created VMs.
  • Predefine available operating systems.
  • Predefine available hosts and datastores.
  • Preset network settings.
  • Restrict VM size selection.

Our Solution

  • Using the VMware PowerCLI module and the free PowerShell scripts in the ScriptRunner ActionPack for VMware, creating new VMware VMs is easily standardized.
  • Predefined parameters, invisible to users, ensure that VMs can only be created on certain VMware ESXi Hosts and specific datastores.
  • Via ScriptRunner Queries, users are given the option to select the VMware Datastores and VMware ESXi Hosts. When using scheduled queries, the loading time can be reduced dramatically. However, the VM size can also be fixed. The same applies to the selectable operating systems.

Your Benefit

  • Consistent creation of new VMware virtual Maschines across the enterprise.
  • Creation can be easily delegated to help desk teams and business departments because ScriptRunner users don’t need PowerShell expertise, administrative privileges, or access to the VMware vCenter Server.
  • Access to ScriptRunner Actions can be defined on a per-user basis, customized for specific VM requirements.
  • Customizations are simple, centralized and fast without disrupting day-to-day operations.
  • Governance policies are always automatically met.

Any questions?

Our product experts will be happy to support you in the implementation of your individual use cases and answer your questions.
Book a personal appointment now.

Request demo

Free Webinar

Simplify your VMware management with PowerShell!

scriptrunner-vmware-webinar (1)

Creating new VMs, managing snapshots and changing VM configurations...

In this webinar, we will show you how to automate and delegate these tasks to helpdesk teams and even end users.

Watch webinar for free >

Free script collection

ActionPack for VMware


Get our free PowerShell script collection for managing VMware. Manage vCenter, ESX hosts, snapshots, and more. Configure virtual machines, storage and networks.

Free on GitHub >