Using PowerShell or Perl to perform Guest Customization tasks

Guest Customization can use only DOS commands (Windows) or Bash commands (Linux) natively. The following section describes how to get higher language scripts going.

Getting ready

We need a vApp with at least one VM in it.

How to do it...

There are two ways of using PowerShell or Perl to perform Guest Customization tasks. They are described in the following section.

Using PowerShell or Perl to perform Guest Customization tasks via the VM Properties

Perform the following for using PowerShell or Perl to perform Guest Customization tasks via the VM Properties:

  1. Write wrapper around the program (see the How it works... section).

Using PowerShell or Perl to perform Guest Customization tasks via an ...

Get VMware vCloud Director Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.