I used bash command but it give error command not found
#! /bin/bash
$sourcePath = "\\cloud server\shared\folder"
$destinationPath = "E:\backup"
robocopy $sourcePath $destinationPath /E /Z /COPYALL /R:3 /W:2
Write-Host "Backup completed!"
What should I do? Please suggest.