ShareFile-PowerShell
ShareFile-PowerShell copied to clipboard
Sync-SfItem Folder is deleted when - KeepFolders and -Move are used
The folder on ShareFile is removed even though -KeepFolders is being used. In below example the Inbound folder will be removed from Sharefile.
Sync-SfItem -ShareFilePath "/Folder1/Inbound" -Download -KeepFolders -LocalPath $LocalPath -Move -Overwrite
Definitely a bug. See my pull request here: https://github.com/citrix/ShareFile-PowerShell/pull/51