Update for sync cmd in powershell