Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $path = “\\server\Share\Folder”
- $objWMI = [wmiclass]”\\.\root\cimv2:win32_offlinefilescache”
- $objWMI.Pin($path, 0x00001221, $true)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement