Synchronizing Offline Files from the command line
Published Apr 10 2019 01:22 AM 2,808 Views
Iron Contributor
First published on TECHNET on May 01, 2007
A blog reader recently asked us how to synchronize Offline Files from the command prompt instead of from the Sync Center as described in a previous blog post . Good question! Synchronizing Offline Files from the command line is performed using a WMI script. We have published two example scripts that illustrate how to do this.

The scripts are:

CscSyncAll.vbs – Sync the entire cache
CscSync.vbs – Sync a particular UNC path


Note that most of the text in these scripts is for handling script switches and formatting/reporting progress. The code to actually perform the sync is relatively little.

--Jill

1 Comment
Copper Contributor

the 2 links are dead - 404.

Version history
Last update:
‎Apr 10 2019 01:22 AM
Updated by: