Deletes version 0 of the backup file named ScriptedBackup.

Visual Basic
Edit|Remove
Const BACKUP_VERSION = 0

strComputer = "LocalHost"
Set objComputer = GetObject("IIS://" & strComputer & "")
objComputer.DeleteBackup "ADSIBackup", BACKUP_VERSION