VMware Horizon Community
itdos
Contributor
Contributor

Quickprep, post sync, cmd and %computername%

Hi,

We are using quickprep post sync to add AD-groups to our linked clones.

This is our command:

dsquery computer -name goldenimage | dsget computer -memberof | dsmod group -addmbr "CN=%computername%,OU=Ba-Standard,OU=Ba,OU=BA-Computers,DC=ad,DC=lvn,DC=se"

It is executed by View Composer, but %computername% becomes the name of our golden image "goldenimage".

We want it to be the name of our linked clone.

Any ideas?

Regards

Martin

0 Kudos
1 Reply
oller
Contributor
Contributor

Fixed in View 4.5.

0 Kudos