View psBackUp.ps
Add-Type -A System.IO.Compression.FileSystem
$filename = [DateTime]::Now.ToString("dd_MM_yyyy") + ".zip"
Backup-SqlDatabase -ServerInstance "SunucuAdı" -Database "VeriTabanıAdı" -BackupFile "C:\www\site\DB.bak"
[IO.Compression.ZipFile]::CreateFromDirectory('C:\www\site', 'c:\www\backup\'+ $filename)
Remove-Item C:\www\site\DB.bak