Scripting – Installing Server Features on Multiple 2008 Servers
Installing server features on multiple servers using a text file and psexec. You can find psexec here.
servers.txt:
server1.contoso.com server2.contoso.com server3.contoso.com
Run the follwing psexec command:
Psexec.exe @Servers.txt ServerManagerCMD.exe -install FS-DFS
For a list of features that can be installed this way run:
ServerManagerCMD.exe -query