Here's a powershell example you might want to look at: http://blog.stealthpuppy.com/user-virtualization/reducing-profile-size-with-a-profile-clean-up-script-powershell-edition/ On Thu, Feb 16, 2012 at 11:45 AM, Dan Dill <DanD@xxxxxxxxxx> wrote: > Would love to see your script when finished. I wrote something in vb in > 2008 to do this, I’m sure powershell makes this MUCH simpler to script…*** > * > > ** ** > > http://danstechnotes.blogspot.com/2008/04/delete-cookies-script.html**** > > ** ** > > ** ** > > *Dan Dill* **** > > ** ** > > *From:* thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] *On > Behalf Of *Hamilton, Ronnie > *Sent:* Thursday, February 16, 2012 1:07 AM > *To:* thin@xxxxxxxxxxxxx > *Subject:* [THIN] profile bloat**** > > ** ** > > Hi all,**** > > ** ** > > Just looking into identifying some areas of a user’s roaming profile that > can be deleted without affecting user settings . either on logout or from a > scrip on the file servers when no users are connected.**** > > ** ** > > Description**** > > How many days **** > > Location**** > > ** ** > > ** ** > > ** ** > > User Cookies**** > > 60**** > > ** ** > > User History**** > > 21**** > > ** ** > > User Recent Docs**** > > 21**** > > ** ** > > Java deployment cache**** > > 7**** > > \sun\Java\Deployment\cache**** > > Macromedia files**** > > 7**** > > \Macromedia\Flash Player**** > > Microsoft Crash files**** > > 7**** > > \Microsoft\Excel\*.xar**** > > File types**** > > 21**** > > *.log *.tmp *.xar**** > > ** ** > > ** ** > > Some areas that have been identified so far.**** > > ** ** > > Is this what most are doing or I’m I missing a few.**** > > ** ** > > I intend to run this against our 2k3 XenApp profiles as well as our > Vista/W7 profiles.**** > > ** ** > > Thanks**** > > Ronnie **** > > ** ** > > *Ronnie Hamilton* > Senior Network Engineer **** > > > Lufthansa Technik Airmotive Ireland**** > > IT Department > Naas Road, Rathcoole**** > > Co. Dublin, Ireland > Phone: +353 1 401 1253 > E-mail: ronnie.hamilton@xxxxxxx **** > > www.ltai.ie**** > > ** ** > > **** > > **** > > Visit our website : www.ltai.ie **** > > __________________________________________**** > > Lufthansa Technik Airmotive Ireland Limited. Registered in Ireland. Reg. > No. 45999. Registered Office: Naas Road, Rathcoole, Co.Dublin.**** > > Lufthansa Technik Airmotive Ireland Leasing Limited. Registered in > Ireland. Reg. No. 140891. Registered Office: Naas Road, Rathcoole, > Co.Dublin.**** > > __________________________________________**** > > The information in this email and in any attachments is confidential and > may be privileged. If you are not the intended recipient, please destroy > this message, delete any copies held on your systems and notify the sender > by return email. You should not read, retain, copy, disseminate, > distribute, disclose or use this email or its contents in any way. Any such > action is strictly prohibited. Thank you.**** > > **** > > **** >