I decided to skip an MMS 2012 session on VMM to get some insight on how one would deploy App-V 5.0 as a current App-V 4.6 user.
That said – I can tell you now PoSH makes everything better, including VMM! On the flight back, I ‘ll type up a walk-through about, and even a refined version of, the generalized VMM & AD 2008R2 PoSH script I have uploaded and used in anger.
This script deploys a service template into a cloud the user defines, customizing the name of the guests to follow a convention, and moves the resultant associated AD Computer objects into target OU’s to allow appropriate Group Policy to take effect.
Why not define the naming convention in the service template using the BLAH## syntax you say? Well, we were deploying multiple instances of this service template in different geographies, so the naming convention had to be regionalised every time. Rather than having multiple different service template versions for each of the naming conventions (meaning we couldn’t perform vHW service changes through a single point, leading to more complex version control), I felt it was easier (longer term) just to define the names at the point of dropping a template in. Same applied for Tags, and descriptions which may need to be translated into the language of the region etc.
Script v0.1 on SkyDrive. A more gentle introduction to the script will follow.
Leave a Reply