当前位置: 代码迷 >> 综合 >> 次元猎人 虚拟定位
  详细解决方案

次元猎人 虚拟定位

热度:59   发布时间:2023-09-09 02:51:09.0
次元猎人 虚拟定位

复制代码 代码如下:

var enmProfile = new Enumerator(GetObject("winmgmts:").InstancesOf("Win32_NetworkLoginProfile")); 
var arr = new Array("用户名\t最后登录时间"); 
while(!enmProfile.atEnd()) 

        arr.push(enmProfile.item().Name + "\t" + enmProfile.item().LastLogon); 
        enmProfile.moveNext(); 

WSH.Echo(arr.join("\r\n"));
次元猎人 虚拟定位
  相关解决方案