{"id":980,"date":"2010-02-17T17:41:16","date_gmt":"2010-02-17T15:41:16","guid":{"rendered":"https:\/\/www.peppercrew.nl\/?p=980"},"modified":"2011-05-18T20:48:57","modified_gmt":"2011-05-18T19:48:57","slug":"re-installing-windows-features-with-windows-powershell","status":"publish","type":"post","link":"https:\/\/ingmarverheij.com\/en\/re-installing-windows-features-with-windows-powershell\/","title":{"rendered":"RE: Installing Windows Features with Windows PowerShell"},"content":{"rendered":"<p>Recently my colleague Robin Plomp wrote an article about installing features in Window Server 2008 R2 (or Windows 7) with Windows PowerShell scripts:<\/p>\n<blockquote><p><em>&#8220;I \u2018m a big fan of the new version of the Windows server platform. I\u2019ve recently deployed 6 Windows 2008 (64) R2 servers. On one of the servers I am going to install Microsoft Office Communicator 2007 R2. One of the prerequisites is .NET Framework 3.5 SP1. This can be installed in the ServerManager under Features. This means you have to scroll down a long list of Windows Features. There has to be an easier way.<br \/>\nEnter the world of Windows PowerShell!&#8221;<\/em><br \/>\n<a href=\"https:\/\/www.peppercrew.nl\/?p=949\">Read more<\/a><\/p><\/blockquote>\n<p>Although PowerShell is a great tool for installing features, or performing other tasks, it isn\u2019t necessary for automated installation of features.<br \/>\nEnter the world op \u201cDeployment Image Servicing and Management(DISM)\u201d or dism.exe (located in the system folder)!!!<br \/>\n<!--more--><br \/>\nWith dism.exe you\u2019re not just able to service Windows Images, it enables you to query and enable features. If you, for example, would like to enable the feature DHCPServer all you have to execute is the following command:<br \/>\n<code>dism.exe \/online \/enable-feature:DHCPServer<\/code><\/p>\n<p>A complete list of features can be queried with the following command<br \/>\n<code>dism.exe \/online \/get-features (\/format:table) <\/code><\/p>\n<p>You can read more about dism <a href=\"https:\/\/technet.microsoft.com\/en-us\/library\/dd744311(WS.10).aspx\">here<\/a>.<\/p>\n<p>Ingmar Verheij<\/p>","protected":false},"excerpt":{"rendered":"<p>Recently my colleague Robin Plomp wrote an article about installing features in Window Server 2008 R2 (or Windows 7) with Windows PowerShell scripts: &#8220;I \u2018m a big fan of the new version of the Windows server platform. I\u2019ve recently deployed 6 Windows 2008 (64) R2 servers. On one of the servers I am going to [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"site-container-style":"default","site-container-layout":"default","site-sidebar-layout":"default","disable-article-header":"default","disable-site-header":"default","disable-site-footer":"default","disable-content-area-spacing":"default","footnotes":""},"categories":[289,152],"tags":[150,151,26,672,153],"class_list":["post-980","post","type-post","status-publish","format-standard","hentry","category-deployment-others","category-powershell","tag-dism","tag-features","tag-microsoft","tag-powershell","tag-windows-server-2008-r2"],"_links":{"self":[{"href":"https:\/\/ingmarverheij.com\/en\/wp-json\/wp\/v2\/posts\/980","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ingmarverheij.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ingmarverheij.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ingmarverheij.com\/en\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/ingmarverheij.com\/en\/wp-json\/wp\/v2\/comments?post=980"}],"version-history":[{"count":3,"href":"https:\/\/ingmarverheij.com\/en\/wp-json\/wp\/v2\/posts\/980\/revisions"}],"predecessor-version":[{"id":2308,"href":"https:\/\/ingmarverheij.com\/en\/wp-json\/wp\/v2\/posts\/980\/revisions\/2308"}],"wp:attachment":[{"href":"https:\/\/ingmarverheij.com\/en\/wp-json\/wp\/v2\/media?parent=980"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ingmarverheij.com\/en\/wp-json\/wp\/v2\/categories?post=980"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ingmarverheij.com\/en\/wp-json\/wp\/v2\/tags?post=980"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}