To check if Offline Files is enabled from the command line run the following command
To enable offline files from the command line
To disable offline files from the command line
To get the list of files/folders marked for offline availability
To examine offline files cache folder and report if there are any errors in the cache.
To display the folders in the local cache that are from serversharepath :
To pin a file/folder for offline availability:
Note that this will not synchronize the file to local cache folder. To invoke synchronization we need to run the below fill command
To unpin a folder(remove offline files feature):
To delete a folder from CSC cache:
To check if server is offline:
To disconnect a share from client side cache:
Once we disconnect the share, CSC will not try to synchronize the share. The share will be reconnected only when the user does manual synchronization by right clicking the share and then selectin synchronize.
Use the following command when the share is moved from one server to another server. Before running this command we need to ensure that the share is copied to the server.
csccmd.exe /MOVESHARE:oldserveroldshare newservernewshare
This updates the local cache tables with the new server location, so that CSC will try to synchronize the files from the new server.
To extract a file/folder from the local cache
csccmd.exe </EXTRACT:serversharepath /TARGET:Path
TARGET specifies the destination folder.
To set the size limit for the temporarily cached files:
Please note that some of the options described above are available only with csccmd 1.1 version. If you get syntax errors, it could be that you are using old version of csccmd tool i.e csccmd.exe 1.0.