// *****************************************************
// This is a sample JScript code for PCIScope.
// It will collect PCI information and save it to file.
// *****************************************************
var App = new ActiveXObject("PCIScope.Application");
with (App)
{
Visible = 1; // Make PCIScope visible
StartDetection(); // Collect information
var FileName = "C:\\pci_info.bpd";
// Save to file
Documents.Detected.SaveAs(FileName);
MessageBox("PCI information was saved to file " + FileName);
Quit(); // Exit PCIScope
}