Contact Info

Crumbtrail

ActiveXperts.com » Administration » Scripts » Adsi

Restore a Metabase Using a Password in Windows

You can use any of the VBScript programs below in ActiveXperts Network Monitor. Click here for an explanation about how to include scripts in ActiveXperts Network Monitor.

Restore a Metabase Using a Password in Windows using VBScript, WMI and LDAP

Example(s)

Const MD_BACKUP_HIGHEST_VERSION = &HFFFFFFFE 

strComputer = "LocalHost"
Set objComputer = GetObject("IIS://" & strComputer & "")

objComputer.RestoreWithPassword "ScriptedBackup", _
    MD_BACKUP_HIGHEST_VERSION, 0, " ie456@k"