Assign a Desktop Group to an App-V policy
Get the Desktop Group UID
Get-BrokerDesktopGroup -name 2012R2-D2 -Property uid
Assign the Policy
Add-BrokerMachineConfiguration –Name AppV\2 –DesktopGroup 3
Validate the assignment - Check the DesktopGroupUids
Get-BrokerMachineConfiguration –Name AppV\2