Skip to content

Instantly share code, notes, and snippets.

@mbrownnycnyc
Created November 18, 2015 16:12
Show Gist options
  • Save mbrownnycnyc/997de66127c84e35d895 to your computer and use it in GitHub Desktop.
Save mbrownnycnyc/997de66127c84e35d895 to your computer and use it in GitHub Desktop.
oneliner to disable offline files on a target machine
([wmiclass]"\\$computer\root\cimv2:win32_offlinefilescache").enable($false)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment