HiltonH
Contributor
Contributor

Assign thinapps to view desktops using powershell/powercli or script

Hi,

Is there anyway to assign a thinapp to a view desktop (windows 7) as you do in the VMware view admin console but via powershell/powercli or a script?

Im using View 4.6 and thinapp 4.7 and vcentre 4.1

Thanks,

Reply
0 Kudos
pbjork
VMware Employee
VMware Employee

Sure.. Just call thinreg.exe (found in the Setup Capture folder but can be copied to for example NETLOGON).

Reply
0 Kudos
Squidly_Man
VMware Employee
VMware Employee

See http://blogs.vmware.com/thinapp/scripts for some VB Script examples. With those, you should be able to extrapolate for PowerShell.

-Dean F. https://www.vmware.com/support/pubs/identitymanager-pubs.html
Reply
0 Kudos
despized2011101
Contributor
Contributor

The Powershell script attached.  I developed for our VDI environment.   It has a ton of comments for information on it.  Please use at your own risk.  I took out the sections that were specific to our company.  The script is in working order as long as you provide the correct Thinapp server share locations and the Asset Management Server locations.

I recommend Novice to Advanced Powershell understanding before working with this script.

It can be used as a logon script or a double click deploy.  I prefer the double click deploy.  This way it leaves it on the users to then run it to get their new Thinapps assigned by Active Directory.

If a User is in the proper AD groups.  The moment they run this script they will have all Thinapps installed that they have access for.  Also this will remove any trace of any Thinapp they should not have.

Finally.  The log file is created in the %temp% directory of the users VM.

Enjoy and Good Luck.

Reply
0 Kudos