Question : Can I use Powershell to install Windows components?

Hello Experts,

Is there a way to install Windows components using Powershell?  Specifically, I would like to install the WMI Windows Installer Provider on my Windows Server 2003 servers so that I can use Powershell to list the applications installed on my servers using WMI.

Regards,
Nick

Answer : Can I use Powershell to install Windows components?

Have you taken a look at System stand-alone Optional Component Manager?

Windows XP and Windows Server 2000 / 2003 have a built-in utility called the System stand-alone Optional Component Manager (sysocmgr.exe) to programmatically add or remove Windows components.

Please read these for more info
http://thesystemadministrator.com/The_System_Administrator/Tips_&_Tricks/Install_Windows_Components_from_Command_Line/
http://www.myitforum.com/articles/5/view.asp?id=8792
Random Solutions  
 
programming4us programming4us