复制代码 代码如下:
<html>
<!--
'********************************************************************
'*
'* File: Scriptomatic.hta
'* Author: The Scripting Guys, Microsoft Corporation
'* Created: August 2002
'* Modified: July 2003 (1.0 -> 1.1 -> 2.0)
'* March 2004
'* Version: 2.0
'*
'* Description: Scriptomatic is a WMI Scripting learning tool
'* that creates example WMI scripts -- in VBScript,
'* JScript, or Perl -- that retrieve instances of
'* WMI managed resources that are described by
'* dynamic classes in the WMI schema (also known as
'* the Common Information Model or CIM).
'*
'* Dependencies: There are two (that we're aware of anyway):
'* 1. You must run Scriptomatic on a WMI-enabled
'* computer. Any Windows operating system that has
'* the number 2000 or higher in its name, or XP,
'* is a safe bet.
'* 2. And to successfully run the scripts generated
'* with Scriptomatic, well, you must be
'* administrator. After all, these are system
'* administration scripts. This piece of advice is
'* especially important if you take advantage of
'* the multiple computer feature that's new to
'* this version of the tool.
'*
'* Copyright (C) 2003 Microsoft Corporation
'*
'********************************************************************
-->
<title>Scriptomatic Version 2.0 by The Microsoft Scripting Guys</title>
<HTA:APPLICATION
ID="objScriptomatic"
APPLICATIONNAME="Scriptomatic"
SCROLL="no"
SINGLEINSTANCE="yes"
WINDOWSTATE="normal"
>
<head>
<style>
BODY
{
background-color: buttonface;
font-family: Helvetica;
font-size: 8pt;
margin-top: 2px;
margin-left: 8px;
margin-right: 3px;
margin-bottom: 3px;
}
.button
{
font-family: Helvetica;
font-size: 8pt;
width: 40px;
}
.wmibutton
{
font-family: Helvetica;
font-size: 8pt;
width: 70px;
}
.bigger_button
{
font-family: Helvetica;
font-size: 8pt;
width: 80px;
}
textarea
{
font-family: Arial;
font-size: 8pt;
margin-left: 3px;
margin-right: 3px;
}
select
{
font-family: Arial;
font-size: 8pt;
width: 450px;
margin-left: 0px;
}
</style>
'********************************************************************
'* BEGIN_SCRIPT
'********************************************************************
<script language="vbscript"> </script>
'****************************************************************************
'* END_SCRIPT
'****************************************************************************
</head>
'****************************************************************************
'* Our HTML layout - the only thing of note here is that when each of the
'* buttons is pressed (clicked), their onClick attributes causes the
'* appropriate subroutine to be called
'****************************************************************************
<body>
<table WIDTH="700" BORDER=1>
<!--------------->
<!-- first row -->
<!--------------->
<tr>
<td VALIGN=TOP WIDTH=700 COLSPAN=2>
<table BORDER=0>
<tr>
<td WIDTH=300 VALIGN=TOP><div style="font-size:8pt;">WMI Namespace</div><span id="wmi_namespaces"></span></td>
<td WIDTH=400 VALIGN=TOP><div style="font-size:8pt;">WMI Class </div><span id="wmi_classes"></span></td>
</tr>
</table>
</td>
</tr>
<!---------------->
<!-- second row -->
<!---------------->
<tr>
<td VALIGN=TOP WIDTH=700 COLSPAN=2>
<table BORDER=0>
<tr>
<td><input id=runbutton class="button" type="button" value="Run" name="run_button" onClick="RunScript()"></td>
<td><input id=cimv2button class="button" type="button" value="CIMv2" name="cimv2_button" onClick="SetNamespaceToCIMV2()"></td>
<td><input id=wmisourcebutton class="wmibutton" type="button" value="WMI Source" name="wmisource_button" onClick="SetWMIRepository()" title="Change computer used for WMI namespace and class information"></td>
<td><input id=openbutton class="button" type="button" value="Open" name="open_button" onClick="OpenScript()"></td>
<td><input id=savebutton class="button" type="button" value="Save" name="save_button" onClick="SaveScript()"></td>
<td><input id=quitbutton class="button" type="button" value="Quit" name="quit_button" onClick="QuitScript()"></td>
</tr>
</table>
</td>
</tr>
<!--------------->
<!-- third row -->
<!--------------->
<tr>
<td WIDTH=600>
<div ID=code_header></div>
<div id="code" name="code"></div>
</td>
<td WIDTH=100 VALIGN=TOP>
<table>
<tr><th COLSPAN=2 style="font-size:8pt;"><hr> Language <hr></th></tr>
<tr><td><span style="font-size:8pt;">VBScript</span></td><td><input type="radio" name="language" onClick="ComposeVBScriptCode" CHECKED></td><tr>
<tr><td><span style="font-size:8pt;">Perl </span></td><td><input type="radio" name="language" onClick="ComposePerlCode"></td></tr>
<tr><td><span style="font-size:8pt;">JScript </span></td><td><input type="radio" name="language" onClick="ComposeJScriptCode"></td></tr>
<tr><td><span style="font-size:8pt;">Python </span></td><td><input type="radio" name="language" onClick="ComposePythonCode"></td></tr>
<tr><th COLSPAN=2 style="font-size:8pt;"><hr> Output Format <hr></th></tr>
<tr><td><span style="font-size:8pt;">Command Prompt</span></td><td><input type="radio" name="output" onClick="SetOutputFormat('CmdLine')" CHECKED></td><tr>
<tr><td><span style="font-size:8pt;">Plain Text </span></td><td><input type="radio" name="output" onClick="SetOutputFormat('PlainText')"></td></tr>
<tr><td><span style="font-size:8pt;">HTML </span></td><td><input type="radio" name="output" onClick="SetOutputFormat('HTML')"></td></tr>
<tr><td><span style="font-size:8pt;">Excel </span></td><td><input type="radio" name="output" onClick="SetOutputFormat('Excel')"></td></tr>
<tr><td><span style="font-size:8pt;">XML </span></td><td><input type="radio" name="output" onClick="SetOutputFormat('XML')"></td></tr>
</table>
</td>
</tr>
<!---------------->
<!-- fourth row -->
<!---------------->
<tr>
<td>
<div>
<div style="font-size:8pt;" TITLE="You can enter multiple computer names or IP addresses here. Separate them with commas...">Target Computers (comma-delimited):</div>
<textarea ID=target_computers COLS=120 ROWS=5></textarea>
</div>
</td>
<td align="center">
<input class="bigger_button" TYPE=BUTTON VALUE="Update Script" TITLE="Modifies the Script to run against all Target Computers" onClick="ComposeCode()">
<input class="bigger_button" TYPE=BUTTON VALUE="Load From File" onClick="LoadComputerNamesFromFile()">
</td>
</tr>
</table>
</body>
</html>
使用说明:里面包含ScriptomaticV2.hta与hta_helpomatic.hta两个文件。
Scriptomatic打包下载
<html>
<!--
'********************************************************************
'*
'* File: Scriptomatic.hta
'* Author: The Scripting Guys, Microsoft Corporation
'* Created: August 2002
'* Modified: July 2003 (1.0 -> 1.1 -> 2.0)
'* March 2004
'* Version: 2.0
'*
'* Description: Scriptomatic is a WMI Scripting learning tool
'* that creates example WMI scripts -- in VBScript,
'* JScript, or Perl -- that retrieve instances of
'* WMI managed resources that are described by
'* dynamic classes in the WMI schema (also known as
'* the Common Information Model or CIM).
'*
'* Dependencies: There are two (that we're aware of anyway):
'* 1. You must run Scriptomatic on a WMI-enabled
'* computer. Any Windows operating system that has
'* the number 2000 or higher in its name, or XP,
'* is a safe bet.
'* 2. And to successfully run the scripts generated
'* with Scriptomatic, well, you must be
'* administrator. After all, these are system
'* administration scripts. This piece of advice is
'* especially important if you take advantage of
'* the multiple computer feature that's new to
'* this version of the tool.
'*
'* Copyright (C) 2003 Microsoft Corporation
'*
'********************************************************************
-->
<title>Scriptomatic Version 2.0 by The Microsoft Scripting Guys</title>
<HTA:APPLICATION
ID="objScriptomatic"
APPLICATIONNAME="Scriptomatic"
SCROLL="no"
SINGLEINSTANCE="yes"
WINDOWSTATE="normal"
>
<head>
<style>
BODY
{
background-color: buttonface;
font-family: Helvetica;
font-size: 8pt;
margin-top: 2px;
margin-left: 8px;
margin-right: 3px;
margin-bottom: 3px;
}
.button
{
font-family: Helvetica;
font-size: 8pt;
width: 40px;
}
.wmibutton
{
font-family: Helvetica;
font-size: 8pt;
width: 70px;
}
.bigger_button
{
font-family: Helvetica;
font-size: 8pt;
width: 80px;
}
textarea
{
font-family: Arial;
font-size: 8pt;
margin-left: 3px;
margin-right: 3px;
}
select
{
font-family: Arial;
font-size: 8pt;
width: 450px;
margin-left: 0px;
}
</style>
'********************************************************************
'* BEGIN_SCRIPT
'********************************************************************
<script language="vbscript"> </script>
'****************************************************************************
'* END_SCRIPT
'****************************************************************************
</head>
'****************************************************************************
'* Our HTML layout - the only thing of note here is that when each of the
'* buttons is pressed (clicked), their onClick attributes causes the
'* appropriate subroutine to be called
'****************************************************************************
<body>
<table WIDTH="700" BORDER=1>
<!--------------->
<!-- first row -->
<!--------------->
<tr>
<td VALIGN=TOP WIDTH=700 COLSPAN=2>
<table BORDER=0>
<tr>
<td WIDTH=300 VALIGN=TOP><div style="font-size:8pt;">WMI Namespace</div><span id="wmi_namespaces"></span></td>
<td WIDTH=400 VALIGN=TOP><div style="font-size:8pt;">WMI Class </div><span id="wmi_classes"></span></td>
</tr>
</table>
</td>
</tr>
<!---------------->
<!-- second row -->
<!---------------->
<tr>
<td VALIGN=TOP WIDTH=700 COLSPAN=2>
<table BORDER=0>
<tr>
<td><input id=runbutton class="button" type="button" value="Run" name="run_button" onClick="RunScript()"></td>
<td><input id=cimv2button class="button" type="button" value="CIMv2" name="cimv2_button" onClick="SetNamespaceToCIMV2()"></td>
<td><input id=wmisourcebutton class="wmibutton" type="button" value="WMI Source" name="wmisource_button" onClick="SetWMIRepository()" title="Change computer used for WMI namespace and class information"></td>
<td><input id=openbutton class="button" type="button" value="Open" name="open_button" onClick="OpenScript()"></td>
<td><input id=savebutton class="button" type="button" value="Save" name="save_button" onClick="SaveScript()"></td>
<td><input id=quitbutton class="button" type="button" value="Quit" name="quit_button" onClick="QuitScript()"></td>
</tr>
</table>
</td>
</tr>
<!--------------->
<!-- third row -->
<!--------------->
<tr>
<td WIDTH=600>
<div ID=code_header></div>
<div id="code" name="code"></div>
</td>
<td WIDTH=100 VALIGN=TOP>
<table>
<tr><th COLSPAN=2 style="font-size:8pt;"><hr> Language <hr></th></tr>
<tr><td><span style="font-size:8pt;">VBScript</span></td><td><input type="radio" name="language" onClick="ComposeVBScriptCode" CHECKED></td><tr>
<tr><td><span style="font-size:8pt;">Perl </span></td><td><input type="radio" name="language" onClick="ComposePerlCode"></td></tr>
<tr><td><span style="font-size:8pt;">JScript </span></td><td><input type="radio" name="language" onClick="ComposeJScriptCode"></td></tr>
<tr><td><span style="font-size:8pt;">Python </span></td><td><input type="radio" name="language" onClick="ComposePythonCode"></td></tr>
<tr><th COLSPAN=2 style="font-size:8pt;"><hr> Output Format <hr></th></tr>
<tr><td><span style="font-size:8pt;">Command Prompt</span></td><td><input type="radio" name="output" onClick="SetOutputFormat('CmdLine')" CHECKED></td><tr>
<tr><td><span style="font-size:8pt;">Plain Text </span></td><td><input type="radio" name="output" onClick="SetOutputFormat('PlainText')"></td></tr>
<tr><td><span style="font-size:8pt;">HTML </span></td><td><input type="radio" name="output" onClick="SetOutputFormat('HTML')"></td></tr>
<tr><td><span style="font-size:8pt;">Excel </span></td><td><input type="radio" name="output" onClick="SetOutputFormat('Excel')"></td></tr>
<tr><td><span style="font-size:8pt;">XML </span></td><td><input type="radio" name="output" onClick="SetOutputFormat('XML')"></td></tr>
</table>
</td>
</tr>
<!---------------->
<!-- fourth row -->
<!---------------->
<tr>
<td>
<div>
<div style="font-size:8pt;" TITLE="You can enter multiple computer names or IP addresses here. Separate them with commas...">Target Computers (comma-delimited):</div>
<textarea ID=target_computers COLS=120 ROWS=5></textarea>
</div>
</td>
<td align="center">
<input class="bigger_button" TYPE=BUTTON VALUE="Update Script" TITLE="Modifies the Script to run against all Target Computers" onClick="ComposeCode()">
<input class="bigger_button" TYPE=BUTTON VALUE="Load From File" onClick="LoadComputerNamesFromFile()">
</td>
</tr>
</table>
</body>
</html>
使用说明:里面包含ScriptomaticV2.hta与hta_helpomatic.hta两个文件。
Scriptomatic打包下载
广告合作:本站广告合作请联系QQ:858582 申请时备注:广告合作(否则不回)
免责声明:本站资源来自互联网收集,仅供用于学习和交流,请遵循相关法律法规,本站一切资源不代表本站立场,如有侵权、后门、不妥请联系本站删除!
免责声明:本站资源来自互联网收集,仅供用于学习和交流,请遵循相关法律法规,本站一切资源不代表本站立场,如有侵权、后门、不妥请联系本站删除!
暂无评论...
RTX 5090要首发 性能要翻倍!三星展示GDDR7显存
三星在GTC上展示了专为下一代游戏GPU设计的GDDR7内存。
首次推出的GDDR7内存模块密度为16GB,每个模块容量为2GB。其速度预设为32 Gbps(PAM3),但也可以降至28 Gbps,以提高产量和初始阶段的整体性能和成本效益。
据三星表示,GDDR7内存的能效将提高20%,同时工作电压仅为1.1V,低于标准的1.2V。通过采用更新的封装材料和优化的电路设计,使得在高速运行时的发热量降低,GDDR7的热阻比GDDR6降低了70%。
更新日志
2024年11月23日
2024年11月23日
- 凤飞飞《我们的主题曲》飞跃制作[正版原抓WAV+CUE]
- 刘嘉亮《亮情歌2》[WAV+CUE][1G]
- 红馆40·谭咏麟《歌者恋歌浓情30年演唱会》3CD[低速原抓WAV+CUE][1.8G]
- 刘纬武《睡眠宝宝竖琴童谣 吉卜力工作室 白噪音安抚》[320K/MP3][193.25MB]
- 【轻音乐】曼托凡尼乐团《精选辑》2CD.1998[FLAC+CUE整轨]
- 邝美云《心中有爱》1989年香港DMIJP版1MTO东芝首版[WAV+CUE]
- 群星《情叹-发烧女声DSD》天籁女声发烧碟[WAV+CUE]
- 刘纬武《睡眠宝宝竖琴童谣 吉卜力工作室 白噪音安抚》[FLAC/分轨][748.03MB]
- 理想混蛋《Origin Sessions》[320K/MP3][37.47MB]
- 公馆青少年《我其实一点都不酷》[320K/MP3][78.78MB]
- 群星《情叹-发烧男声DSD》最值得珍藏的完美男声[WAV+CUE]
- 群星《国韵飘香·贵妃醉酒HQCD黑胶王》2CD[WAV]
- 卫兰《DAUGHTER》【低速原抓WAV+CUE】
- 公馆青少年《我其实一点都不酷》[FLAC/分轨][398.22MB]
- ZWEI《迟暮的花 (Explicit)》[320K/MP3][57.16MB]