essential Command Prompt in windows server 2008,server core edtion

essential Command Prompt in windows server 2008,server core edtion

1.sconfig
Server Configuration
DESCRIPTION:
服务器安装完成后进行必要的设置,包括设置IP地址、计算机名、加域、启用远程桌面等。是对server core进行初始配置的最有效的工具,建议登录后即使用此工具进行配置。
2.oclist、ocsetup
optional components list /setup
DESCRIPTION:
Use the listed update names with Ocsetup.exe to install/uninstall a server role or optional feature.
Adding or removing the Active Directory role with Ocsetup.exe is not supported.It can leave your server in an unstable state.Always use DCPromo to install or uninstall Active Directory.
虽然这里是作为两个工具出现,其实大多数情况下都是这两者一起配合使用。
3.dism
Deployment Image Servicing and Management tool
DESCRIPTION:
DISM enumerates, installs, uninstalls, configures, and updates features  and packages in Windows images. The commands that are available depend  on the image being serviced and whether the image is offline or running.
dism更多像是加强版的oclist+ocsetup,一个命令就可以完成前面两个工具才能完成的任务。
4.wmic
Windows Management Instrumentation Command.
DESCRIPTION:
Read a huge range of information about local or remote computers. Also provides a way to make configuration changes to multiple remote machines.
通过上面4个工具,应该可以完成90%的配置和安装任务。剩下的就是对安装的server role和feature进行配置了,如果你喜欢使用脚本的话,强烈建议使用powershell的远程管理功能来进行进一步的配置管理工作;如果你喜欢GUI的话,建议通过远程系统管理工具来进行配置管理。

你可能感兴趣的:(windows,server,command,core,prompt)