中国DOS联盟论坛

中国DOS联盟

-- 联合DOS 推动DOS 发展DOS --

联盟域名:www.cn-dos.net  论坛域名:www.cn-dos.net/forum
DOS,代表着自由开放与发展,我们努力起来,学习FreeDOS和Linux的自由开放与GNU精神,共同创造和发展美好的自由与GNU GPL世界吧!

游客:  注册 | 登录 | 命令行 | 会员 | 搜索 | 上传 | 帮助 »
作者:
标题: Vista 下的新命令行工具 上一主题 | 下一主题
estar
中级用户





积分 346
发帖 103
注册 2004-4-6
状态 离线
『楼 主』:  Vista 下的新命令行工具

New Command Line Tools in Vista Beta 2

原文地址:
http://computerbits.wordpress.co ... ls-in-vista-beta-2/


Posted by amida168 on July 21st, 2006

As a system admin with developer’s background, I like to write scripts utilizing command line tools to automate admin tasks. With the release of Windows Vista Beta 2, I was wondering about what new command line tools are available. I spent several hours yesterday to find out the new additions. Note that some of them are not “new” such as auditpol and robocopy. They were available as resource kit tools, but now they are part of Vista as default installation. Here is the list and their descriptions.

auditpol AuditPol.exe is a command-line tool used to modify audit polices from command line.
bcdedit Boot Configuration Data Store Editor
bitsadmin BITS administration utility.
change Changes terminal server settings for logons, COM port mappings, and install mode. The following three commands are related to this one.
chglogon Enable or disable session logins. eg: change logon .
chgport List or change COM port mappings for DOS application compatibility. eg: change port .
chgusr Change Install Mode. eg: change user .
choice This tool allows users to select one item from a list of choices and returns the index of the selected choice.
clip Redirects output of command line tools to the Windows clipboard. This text output can then be pasted into other programs.
cmdkey Creates, displays, and deletes stored user names and passwords.
diskraid Launches the Diskraid application.
dispdiag Display Diagnostics
forfiles Selects a file (or set of files) and executes a command on that file. This is helpful for batch jobs.
icacls Updated version of cacls. Displays or modifies access control lists (ACLs) of files
iscsicli Microsoft iSCSI Initiator
muiunattend MUI Unattend Action
netcfg WinPE Network Installer
ocsetup Windows Optional Component Setup
pkgmgr Windows Package Manager
pnpunattend AuditSystem, Unattend online driver install
pnputil Microsoft PnP Utility
query QUERY { PROCESS | SESSION | TERMSERVER | USER }
quser Display information about users logged on to the system.
robocopy Robust File Copy for Windows
rpcping Pings a server using RPC.
setx Creates or modifies environment variables in the user or system environment. Can set variables based on arguments, regkeys or file input.
sxstrace WinSxs Tracing Utility.
takeown This tool allows an administrator to recover access to a file that was denied by re-assigning file ownership.
timeout This utility accepts a timeout parameter to wait for the specified time period (in seconds) or until any key is pressed. It also accepts a parameter to ignore the key press.
tracerpt Microsoft TraceRpt
waitfor This tool sends, or waits for, a signal on a system. When /S is not specified, the signal will be broadcasted to all the systems in a domain. If /S is specified, then the signal will be sent only to the specified system.
wbadmin Backup command-line tool
wceutil Windows Event Collector Utility
wevtutil Windows Events Command Line Utility.
where Displays the location of files that match the search pattern. By default, the search is done along the current directory and in the paths specified by the PATH environment variable.
whoami This utility can be used to get user name and group information along with the respective security identifiers (SID), privileges, logon identifier (logon ID) for the current user (access token) on the local system. i.e. who is the current logged on user? If no switch is specified, tool displays the user name in NTLM format (domain\username).
winrm Windows Remote Management
winrs Windows Remote Shell
winsat Windows System Assessment Tool

This entry was posted on Friday, July 21st, 2006 at 6:37 pm and is filed under Vista. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

2007-3-28 10:36
查看资料  发送邮件  发短消息 网志   编辑帖子  回复  引用回复
lxmxn
版主




积分 11386
发帖 4938
注册 2006-7-23
状态 离线
『第 2 楼』:  


沙发,顶一个~

不知道estar兄能否将一些工具移植到xp下面来用?


2007-3-29 01:43
查看资料  发送邮件  发短消息 网志   编辑帖子  回复  引用回复
everest79
金牌会员

一叶枝头,万树皆春



积分 2564
发帖 1127
注册 2006-12-25
状态 离线
『第 3 楼』:  

看不懂,有没有支持IP与时间运算的

2007-3-30 02:23
查看资料  发短消息 网志   编辑帖子  回复  引用回复

请注意:您目前尚未注册或登录,请您注册登录以使用论坛的各项功能,例如发表和回复帖子等。


可打印版本 | 推荐给朋友 | 订阅主题 | 收藏主题



论坛跳转: