So you would need to run a powershell by using scheduled tasks on a daily basis to have the snapshot taken, then you can either run the clean up in the same script or in a separate scripts.
To create the snapshot,
New-Snapshot -VM (get-vm vmname) -Name nameyouchoose
To delete the snapshot based on your criteria of 2 days,
$OldSnapshot = Get-VM vmname | get-snapshot | where {$_.Created -lt ((Get-Date).AddDays(-2))}
Remove-Snapshot -Snapshot $OldSnapshot -confirm:$false
This should give you a starting point at least.
Chris Nakagaki (Zsoldier)
http://tech.zsoldier.com