msiexec.exe 参数介绍
进程文件:msiexec或者msiexec.exe
进程名称:WindowsInstallerComponent
进程名称:msiexec.exe是WindowsInstaller的一部分。用于安装WindowsInstaller安装包(MSI)。这个程序对你系统的正常运行是非常重要的。
出品者:MicrosoftCorp.
属于:Windows Windows (R) Installer. V 3.01.4000.1823
msiexec /Option <Required Parameter> [Optional Parameter]
安装选项
</package | /i> <Product.msi>
安装或配置产品
/a <Product.msi>
管理安装 – 在网络上安装产品
/j<u|m> <Product.msi> [/t <Transform List>] [/g <Language ID>]
播发产品 – m 播发到所有用户,u 播发到当前用户
</uninstall | /x> <Product.msi | ProductCode>
卸载产品
显示选项
/quiet
安静模式,无用户交互
/passive
无从参与模式 – 只显示进程栏
/q[n|b|r|f]
设置用户界面级别
n – 无用户界面
b – 基本界面
r – 精简界面
f – 完整界面(默认值)
月度归档:2009 年五月
dsquery使用
Dsquery按照指定的条件查询 Active Directory。下列每个 dsquery 命令都查找指定对象类型的对象,dsquery * 除外,它可以查询任何对象类型。
?dsquery computer
?dsquery contact
?dsquery group
?dsquery ou
?dsquery site
?dsquery server
?dsquery user
?dsquery quota
?dsquery partition
?dsquery *
dsquery computer在目录中查找与指定的搜索条件相匹配的计算机。
语法dsquery computer [{StartNode| forestroot | domainroot}] [-o {dn | rdn | samid}] [-scope {subtree | onelevel | base}] [-name Name] [-desc Description] [-samid SAMName] [-inactive NumberOfWeeks] [-stalepwd NumberOfDays] [-disabled] [{-s Server| -d Domain}] [-u UserName] [-p {Password|*}] [-q] [-r] [-gc] [-limit NumberOfObjects] [{-uc | -uco | -uci}]
Mstsc 命令参数说明
mstsc.exe {ConnectionFile | /v:ServerName[:Port]} [/console] [/f] [/w:Width/h:Height]
mstsc.exe/edit”ConnectionFile”
mstsc.exe/migrate
参数
ConnectionFile
指定用于连接的 .rdp 文件的名称。
/v: ServerName[
ort]
指定要连接的远程计算机和(可选)端口号。
/console
连接到指定的 Windows Server 2003 家族操作系统的控制台会话。
/f
在全屏模式下启动“远程桌面”连接。
/w:Width /h:Height
指定“远程桌面”屏幕的尺寸。
/edit ” ConnectionFile ”
打开指定的 .rdp 文件进行编辑。
/migrate
将使用“客户端连接管理器”创建的旧的连接文件迁移到新的 .rdp 连接文件中。
wsus 非常有用的管理命令
WSUS 提供了一个管理命令 – wsusutil.exe 提供了丰富的管理使用程序。
wsusutil checkhealth
介绍:建议 WSUS 服务立即检查其组件的运行状况。结果将显示在 NT 事件日志中。
说明:检查运行情况
wsusutil configuressl
介绍:更改完 IIS 配置后更新 WSUS 服务器的注册表。
说明:configuressl
wsusutil configuresslproxy
介绍:管理 SSL 通信使用的独立代理服务器配置设置。
说明:configuresslproxy
wsusutil deletefrontendserver
介绍:在 WSUS 数据库中删除前端服务器记录。
说明:deletefrontendserver
wsusutil listinactiveapprovals
介绍:返回批准的更新标题列表,这些批准由于服务器语言设置处于永久不活动状态。