📄 bb.js
字号:
// Copyright (c) 1997-1999 Microsoft Corporation
//***************************************************************************
//
// WMI Sample Script - Win32_ComputerSystem dump (JScript)
//
// This script demonstrates how to dump properties from instances of
// Win32_ComputerSystem.
//
//***************************************************************************
var service = GetObject('winmgmts:')
var Systems = new Enumerator (service.InstancesOf("Win32_ComputerSystem") );
for (;!Systems.atEnd();Systems.moveNext())
{
var System = Systems.item();
WScript.Echo (System.Model);
WScript.Echo (System.PrimaryOwnerName);
WScript.Echo (System.Domain);
WScript.Echo (System.SystemType);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -