7.2

Table Of Contents
n
Gather the following information about your Active Directory environment:
n
An Active Directory account user name and password with sufficient rights to delete, disable,
rename, or move AD accounts. The user name must be in domain\username format.
n
(Optional) The name of the OU to which to move destroyed machines.
n
(Optional) The prefix to attach to destroyed machines.
n
Create a machine blueprint. See Scenario: Create a vSphere CentOS Blueprint for Cloning in
Rainpole.
Procedure
1 Select Design > Blueprints.
2 Point to your Centos on vSphere blueprint and click Edit.
3 Select the machine component on your canvas to bring up the details tab.
4 Click the Properties tab.
5 Click the Custom properties tab to configure the Active Directory Cleanup Plugin.
a Click New Property.
b Type Plugin.AdMachineCleanup.Execute in the Name text box.
c Type true in the Value text box.
d
Click the Save icon (
).
6 Configure the Active Directory Cleanup Plugin by adding custom properties.
Option Description and Value
Plugin.AdMachineCleanup.UserName
Enter the Active Directory account user name in the Value text box. This user
must have sufficient privileges to delete, disable, move, and rename Active
Directory accounts. The user name must be in the format domain\username.
Plugin.AdMachineCleanup.Password
Enter the password for the Active Directory account user name in the Value text
box.
Plugin.AdMachineCleanup.Delete
Set to True to delete the accounts of destroyed machines, instead of disabling
them.
Plugin.AdMachineCleanup.MoveToOu
Moves the account of destroyed machines to a new Active Directory
organizational unit. The value is the organization unit to which you are moving the
account. This value must be in ou=OU, dc=dc format, for example
ou=trash,cn=computers,dc=lab,dc=local.
Plugin.AdMachineCleanup.RenamePre
fix
Renames the accounts of destroyed machines by adding a prefix. The value is
the prefix string to prepend, for example destroyed_.
7 Click OK.
Whenever machines provisioned from your blueprint are deleted from your hypervisor, your Active
Directory environment is updated.
Configuring vRealize Automation
VMware, Inc. 398