This script resets offline files cache and database. You can use this script to reset offline files cache and database on a local computer or against remote computers. Workgroup computers are also supported.
On a Windows Vista-based or Windows 7-based client computer, you can still access offline files even though the file server is removed from the network. On a Windows XP-based client computer, sometimes the offline files cache and database may be corrupted. If multiple computers have this problem, Help desk need a script to reset offline files cache and database on multiple machines.
You can find more All-In-One Script Framework script samples at https://aka.ms/onescriptingallery