I am not the greatest script writer! Certainly I can bolt together some stuff that other people can do! And to add i have been doing loads with our new VDI implementation in 2k8 R2.
So whilst doing some troubleshooting I was told about some Great Scripts for the Windows Server 2008 R2 VDi implementation and Remote Desktop Services.
If you go to here the scripting guy has some amazing scripts to work with.
The scripts cover basic troubleshooting and config! Very very handy, i wish i had known about them sooner!