Windows Management Instrumentation samples
Directory: sqllib\samples\wmi.
| Sample file name | File description |
|---|---|
backupdb.vbs |
How to backup a database |
createdb.vbs |
How to create and drop a database. |
listsvr.vbs |
How to enumerate server instances and start/stop a Db2® instance. |
perfmon.mof |
MOF file for perfmon.vbs. |
perfmon.vbs |
How to obtain a Db2 performance counter. Note: you must run "mofcomp perfmon.mof" first. |
regvar.mof |
MOF file for regvar.vbs. |
regvar.vbs |
How to obtain a Db2 registry variable. Note: you must run "mofcomp regvar.mof" first. |
restoredb.vbs |
How to restore a database. |
rollfwddb.vbs |
How to rollforward a database. |
updatedbcfg.vbs |
How to get and update the database configuration. |
updatedbmcfg.vbs |
How to get and update the database manager configuration. |