是否有可能在不手动运行 exe 的情况下获取 Office 的 ADMX 文件?

是否有可能在不手动运行 exe 的情况下获取 Office 的 ADMX 文件?

我目前正在尝试配置虚拟化 AD 域,但遇到了一些奇怪的事情

该域的客户端将安装 Office 2021,因此我正在尝试自动拉取 Office 的管理模板 (ADMX/ADML)(以将它们安装到中央存储中)。

我可以手动提取并安装它们,但我找不到如何自动执行此操作,它似乎只能作为 EXE 推送,而且我找不到以非可执行格式正式获取它们的方法

答案1

我想到在命令行上运行可执行文件来\?尝试显示某种帮助消息

& .\admintemplates_x86_5372-1000_en-us.exe /?

然后弹出这个菜单(转录):

Usage:
/extract:path, extracts the content of the package to the path folder
/log[:to log file], enables verbose logging for the update
installation
/lang:lcid, sets the user interface to the specified locale when multiple
locales are available within the package
/quiet, runs the package in silent mode
/passive, runs the update without any interaction from the user
/norestart, prevents prompting of user when reboot of machine is
needed
/forcerestart, forced restart of machine once update is complete
/?, shows this help message

执行(在 PowerShell 中)

& .\admintemplates_x86_5372-1000_en-us.exe /extract:$pwd/admx /passive /quiet

将自动提取文件到.\admx

相关内容