Advertisement
Guest User

Untitled

a guest
Oct 20th, 2017
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.14 KB | None | 0 0
  1. $path = “\\server\Share\Folder”
  2. $objWMI = [wmiclass]”\\.\root\cimv2:win32_offlinefilescache”
  3. $objWMI.Pin($path, 0x00001221, $true)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement