Q: How can I check what other roles and features will be installed on my Windows Server 2012 box when I add a role or feature?

A: Many roles and features require other roles and features to function correctly. One easy way to check what will be installed if a role/feature is added is to perform the installation from Windows PowerShell by using the -whatif switch. This switch lists what roles/features will be installed. For example, here's what I got when I entered it:

  1. PS C:\> add-windowsfeature ipam -whatif
  2. What if: Continue with installation?
  3. What if: Performing installation for "[IP Address Management (IPAM) Server] IP Address Management (IPAM) Server".
  4. What if: Files for "[IP Address Management (IPAM) Server] IP Address Management (IPAM) Server" are not available on the target server.
  5. What if: Performing installation for "[Windows Internal Database] Windows Internal Database".
  6. What if: Files for "[Windows Internal Database] Windows Internal Database" are not available on the target server.
  7. What if: Performing installation for "[.NET Framework 4.5 Features] TCP Activation".
  8. What if: Files for "[.NET Framework 4.5 Features] TCP Activation" are not available on the target server.
  9. What if: Performing installation for "[.NET Framework 4.5 Features] ASP.NET 4.5".
  10. What if: Files for "[.NET Framework 4.5 Features] ASP.NET 4.5" are not available on the target server.
  11. What if: Performing installation for "[Windows Process Activation Service] Process Model".
  12. What if: Files for "[Windows Process Activation Service] Process Model" are notavailable on the target server.
  13. What if: Performing installation for "[Windows Process Activation Service] Windows Process Activation Service".
  14. What if: Files for "[Windows Process Activation Service] Windows Process Activation Service" are not available on the target server.
  15. What if: Performing installation for "[Windows Process Activation Service] Configuration APIs".
  16. What if: Files for "[Windows Process Activation Service] Configuration APIs" are not available on the target server.
  17. What if: Performing installation for "[Remote Server Administration Tools] DHCP Server Tools".
  18. What if: Files for "[Remote Server Administration Tools] DHCP Server Tools" are not available on the target server.
  19. What if: Performing installation for "[Remote Server Administration Tools] Role Administration Tools".
  20. What if: Files for "[Remote Server Administration Tools] Role Administration Tools" are not available on the target server.
  21. What if: Performing installation for "[Remote Server Administration Tools] Remote Server Administration Tools".
  22. What if: Performing installation for "[User Interfaces and Infrastructure] Graphical Management Tools and Infrastructure".
  23. What if: Performing installation for "[User Interfaces and Infrastructure] User Interfaces and Infrastructure".
  24. What if: Performing installation for "[Remote Server Administration Tools] DNS Server Tools".
  25. What if: Files for "[Remote Server Administration Tools] DNS Server Tools" are not available on the target server.
  26. What if: Performing installation for "[Group Policy Management] Group Policy Management".
  27. What if: Files for "[Group Policy Management] Group Policy Management" are not available on the target server.
  28. What if: The target server may need to be restarted after the installation completes.