According to this microsoft post it is possible to call Attrib.exe to do that sort of manipulation on files.
Attrib.exe enables 2 core scenarios.  attrib -U +P /s, makes a set of files or folders always available and attrib +U -P /s, makes a set of files or folders online only.
Free up
attrib +U -P "destination path"