Also if you're querying it remotely, you won't want to use @WkSta+"\"+$profilename as the entry name.

Probably something more like $Host+"\"+$profilename


Edited by ShaneEP (2013-11-01 06:00 PM)