{"id":200,"date":"2009-11-18T12:37:55","date_gmt":"2009-11-18T17:37:55","guid":{"rendered":"http:\/\/www.bhargavs.com\/index.php\/powershell\/2009\/11\/script-to-install-exchange-2010-pre-requisites-for-windows-server-2008-r2\/"},"modified":"2009-11-18T12:37:55","modified_gmt":"2009-11-18T17:37:55","slug":"script-to-install-exchange-2010-pre-requisites-for-windows-server-2008-r2","status":"publish","type":"post","link":"https:\/\/bhargavs.com\/index.php\/2009\/11\/18\/script-to-install-exchange-2010-pre-requisites-for-windows-server-2008-r2\/","title":{"rendered":"Script to install Exchange 2010 pre-requisites for Windows Server 2008 R2"},"content":{"rendered":"<p>Even though installing pre-requisites on Windows Server 2008 R2 is simple and straight forward as described <a href=\"http:\/\/technet.microsoft.com\/en-us\/library\/bb691354(EXCHG.140).aspx#WS08R2\" target=\"_blank\" rel=\"noopener noreferrer\">here<\/a>, it makes it even faster if you were to use a script to do so.<\/p>\n<p><a href=\"http:\/\/msmvps.com\/blogs\/andersonpatricio\/about.aspx\" target=\"_blank\" rel=\"noopener noreferrer\">MVP Anderson Patricio<\/a> recently published a <a href=\"http:\/\/msmvps.com\/blogs\/andersonpatricio\/archive\/2009\/11\/13\/installing-exchange-server-2010-pre-requisites-on-windows-server-2008-r2.aspx\" target=\"_blank\" rel=\"noopener noreferrer\">script<\/a> for the same. What the script did not do is what I took liberty to add. I am publishing entire script below with credit to Anderson where it is due.<\/p>\n<p>My code adds functionality to download and install Microsoft Filter Pack if the server has internet connectivity.<\/p>\n<p>UPDATE: Pat Richard enhanced this script and added some checks and other functionality which makes it even more useful. You can read Pat\u2019s post <a href=\"http:\/\/www.ucblogs.net\/blogs\/exchange\/archive\/2009\/12\/12\/Automated-prerequisite-installation-via-PowerShell-for-Exchange-Server-2010-on-Windows-Server-2008-R2.aspx\">here<\/a>. The script below is result of combined effort of Anderson, Pat and myself.<\/p>\n<pre lang=\"PowerShell\" escaped=\"true\">#############################################################################\n# Set-Exchange2010Prereqs.ps1\n# Configures the necessary prerequisites to install Exchange 2010 on a\n# Windows Server 2008 R2 server\n#\n# Pat Richard, MVP\n# http:\/\/ucblogs.net\/blogs\/exchange\n#\n# 1.0 \u2013 Original script 11\/27\/09 based on the work of Anderson Patricio and\n# Bhargav Shukla\n#\n# Dedicated blog post:\n# http:\/\/www.ucblogs.net\/blogs\/exchange\/archive\/2009\/12\/12\/Automated-prerequisite-installation-via-PowerShell-for-Exchange-Server-2010-on-Windows-Server-2008-R2.aspx\n#\n# Some info taken from\n# http:\/\/msmvps.com\/blogs\/andersonpatricio\/archive\/2009\/11\/13\/installing-exchange-server-2010-pre-requisites-on-windows-server-2008-r2.aspx\n# http:\/\/www.bhargavs.com\/index.php\/powershell\/2009\/11\/script-to-install-exchange-2010-pre-requisites-for-windows-server-2008-r2\/\n#############################################################################\n\n# Detect correct OS here and exit if no match\nif (-not((Get-WMIObject win32_OperatingSystem).OSArchitecture -eq '64-bit') -and (Get-WMIObject win32_OperatingSystem).Version -eq '6.1.7600'){\n\tWrite-Host &quot;This script requires a 64bit version of Windows Server 2008 R2, which this is not.&quot; -ForegroundColor Red -BackgroundColor Black\n\tExit\n}\n\nFunction InstallFilterPack(){\n# future: look and see if it's already installed\n# \t\t\tvia registry HKLM:\\Software\\Microsoft\\CurrentVersion\\Uninstall\\{95120000-2000-0409-1000-0000000FF1CE}\n\ttrap {\n\t\tWrite-Host &quot;Problem downloading FilterPackx64.exe. Please visit http:\/\/tinyurl.com\/36yrlj&quot;\n\t\tbreak\n\t}\n\t#set a var for the folder you are looking for\n\t$folderPath = 'C:\\Temp'\n\n\t#Check if folder exists, if not, create it\n\tif (Test-Path $folderpath){\n\t\tWrite-Host &quot;The folder $folderPath exists.&quot;\n\t} else{\n\t\tWrite-Host &quot;The folder $folderPath does not exist, creating...&quot; -NoNewline\n\t\tNew-Item $folderpath -type directory | Out-Null\n\t\tWrite-Host &quot;done!&quot; -ForegroundColor Green\n\t}\n\n\t# Check if file exists, if not, download it\n\t$file = $folderPath+&quot;\\FilterPackx64.exe&quot;\n\tif (Test-Path $file){\n\t\twrite-host &quot;The file $file exists.&quot;\n\t} else {\n\t\t#Download Microsoft Filter Pack\n\t\tWrite-Host &quot;Downloading Microsoft Filter Pack...&quot; -nonewline\n\t\t$clnt = New-Object System.Net.WebClient\n\t\t$url = &quot;http:\/\/download.microsoft.com\/download\/b\/e\/6\/be61cfa4-b59e-4f26-a641-5dbf906dee24\/FilterPackx64.exe&quot;\n\t\t$clnt.DownloadFile($url,$file)\n\t\tWrite-Host &quot;done!&quot; -ForegroundColor Green\n\t}\n\t#Install Microsoft Filter Pack\n\tWrite-Host &quot;Installing Microsoft Filter Pack...&quot; -nonewline\n\t$expression = $folderPath+&quot;\\FilterPackx64.exe \/quiet \/norestart&quot;\n\tInvoke-Expression $expression\n\tStart-Sleep -Seconds 10\n\twrite-host &quot;done!&quot; -ForegroundColor Green\n}\n\nFunction SetRunOnce(){\n\t# Sets the NetTCPPortSharing service for automatic startup before the first reboot\n\t# by using the old RunOnce registry key (because the service doesn't yet exist, or we could\n\t# use 'Set-Service')\n\t$hostname = hostname\n\t$RunOnceCommand = &quot;sc \\\\$hostname config NetTcpPortSharing start= auto&quot;\n\tif (Get-ItemProperty -Name &quot;NetTCPPortSharing&quot; -path 'HKLM:\\Software\\Microsoft\\Windows\\CurrentVersion\\RunOnce' -ErrorAction SilentlyContinue) {\n\t    \tWrite-host &quot;Registry key HKLM:\\Software\\Microsoft\\Windows\\CurrentVersion\\RunOnce\\NetTCPPortSharing already exists.&quot; -ForegroundColor yellow\n        \tSet-ItemProperty &quot;HKLM:\\Software\\Microsoft\\Windows\\CurrentVersion\\RunOnce&quot; -Name &quot;NetTCPPortSharing&quot; -Value $RunOnceCommand | Out-Null\n\t} else {\n\t    \tNew-ItemProperty &quot;HKLM:\\Software\\Microsoft\\Windows\\CurrentVersion\\RunOnce&quot; -Name &quot;NetTCPPortSharing&quot; -Value $RunOnceCommand -PropertyType &quot;String&quot; | Out-Null\n\t}\n}\n\nImport-Module ServerManager\n$opt = &quot;None&quot;\n# Do {\n\tclear\n\tif ($opt -ne &quot;None&quot;) {write-host &quot;Last command: &quot;$opt -foregroundcolor Yellow}\n\twrite-host\n\twrite-host Exchange Server 2010 - Prerequisites script\n\twrite-host Please, select which role you are going to install..\n\twrite-host\n\twrite-host '1) Hub Transport'\n\twrite-host '2) Client Access Server'\n\twrite-host '3) Mailbox'\n\twrite-host '4) Unified Messaging'\n\twrite-host '5) Edge Transport'\n\twrite-host '6) Typical (CAS\/HUB\/Mailbox)'\n\twrite-host '7) Client Access and Hub Transport'\n\twrite-host\n\twrite-host '9) Configure NetTCP Port Sharing service'\n\twrite-host '   Required for the Client Access Server role' -foregroundcolor yellow\n\twrite-host '   Automatically set for options 2,6, and 7' -foregroundcolor yellow\n\twrite-host '10) Install 2007 Office System Converter: Microsoft Filter Pack'\n\twrite-host '    Required if installing Hub Transport or Mailbox Server roles' -foregroundcolor yellow\n\twrite-host '    Automatically set for options 1, 3, 6, and 7' -foregroundcolor yellow\n\twrite-host\n\twrite-host '13) Restart the Server'\n\twrite-host '14) End'\n\twrite-host\n\t$opt = Read-Host &quot;Select an option.. [1-14]? &quot;\n\n\tswitch ($opt)    {\n\t\t1 { InstallFilterPack; Add-WindowsFeature NET-Framework,RSAT-ADDS,Web-Server,Web-Basic-Auth,Web-Windows-Auth,Web-Metabase,Web-Net-Ext,Web-Lgcy-Mgmt-Console,WAS-Process-Model,RSAT-Web-Server -restart }\n\t\t2 { SetRunOnce; Add-WindowsFeature NET-Framework,RSAT-ADDS,Web-Server,Web-Basic-Auth,Web-Windows-Auth,Web-Metabase,Web-Net-Ext,Web-Lgcy-Mgmt-Console,WAS-Process-Model,RSAT-Web-Server,Web-ISAPI-Ext,Web-Digest-Auth,Web-Dyn-Compression,NET-HTTP-Activation,RPC-Over-HTTP-Proxy -restart }\n\t\t3 { InstallFilterPack; Add-WindowsFeature NET-Framework,RSAT-ADDS,Web-Server,Web-Basic-Auth,Web-Windows-Auth,Web-Metabase,Web-Net-Ext,Web-Lgcy-Mgmt-Console,WAS-Process-Model,RSAT-Web-Server -restart }\n\t\t4 { Add-WindowsFeature NET-Framework,RSAT-ADDS,Web-Server,Web-Basic-Auth,Web-Windows-Auth,Web-Metabase,Web-Net-Ext,Web-Lgcy-Mgmt-Console,WAS-Process-Model,RSAT-Web-Server,Desktop-Experience -restart }\n\t\t5 { Add-WindowsFeature NET-Framework,RSAT-ADDS,ADLDS -restart }\n\t\t6 { SetRunOnce; InstallFilterPack; Add-WindowsFeature NET-Framework,RSAT-ADDS,Web-Server,Web-Basic-Auth,Web-Windows-Auth,Web-Metabase,Web-Net-Ext,Web-Lgcy-Mgmt-Console,WAS-Process-Model,RSAT-Web-Server,Web-ISAPI-Ext,Web-Digest-Auth,Web-Dyn-Compression,NET-HTTP-Activation,RPC-Over-HTTP-Proxy -restart }\n\t\t7 { SetRunOnce; InstallFilterPack; Add-WindowsFeature NET-Framework,RSAT-ADDS,Web-Server,Web-Basic-Auth,Web-Windows-Auth,Web-Metabase,Web-Net-Ext,Web-Lgcy-Mgmt-Console,WAS-Process-Model,RSAT-Web-Server,Web-ISAPI-Ext,Web-Digest-Auth,Web-Dyn-Compression,NET-HTTP-Activation,RPC-Over-HTTP-Proxy -restart }\n\t\t9 { Set-Service NetTcpPortSharing -StartupType Automatic }\n\t\t10 {\n\t\t\t# future - auto detect Internet access\n\t\t\twrite-host 'Can this server access the Internet?'\n\t\t\t$filtpack = read-host 'Please type (Y)es or (N)o...'\n\t\t\tswitch ($filtpack)\t\t\t\t{\n\t\t\t\tY {InstallFilterPack}\n\t\t\t\tN {Write-warning 'Please download and install Microsoft Filter Pack from here: http:\/\/tinyurl.com\/36yrlj'}\n\t\t\t}\n\t\t}\n\t\t13 { Restart-Computer }\n\t\t14 {write-host &quot;Exiting...&quot;}\n\t\tdefault {write-host &quot;You haven't selected any of the available options. &quot;}\n\t}\n# }\n# while ($opt -ne 14)<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Even though installing pre-requisites on Windows Server 2008 R2 is simple and straight forward as described here, it makes it even faster if you were to use a script to [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"pgc_sgb_lightbox_settings":"","_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[52,19],"tags":[66,122,214],"class_list":["post-200","post","type-post","status-publish","format-standard","hentry","category-exchange-2010","category-powershell","tag-2008-r2","tag-exchange-2010","tag-pre-requisites"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Script to install Exchange 2010 pre-requisites for Windows Server 2008 R2 - Bhargav&#039;s IT Playground<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/bhargavs.com\/index.php\/2009\/11\/18\/script-to-install-exchange-2010-pre-requisites-for-windows-server-2008-r2\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Script to install Exchange 2010 pre-requisites for Windows Server 2008 R2 - Bhargav&#039;s IT Playground\" \/>\n<meta property=\"og:description\" content=\"Even though installing pre-requisites on Windows Server 2008 R2 is simple and straight forward as described here, it makes it even faster if you were to use a script to [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/bhargavs.com\/index.php\/2009\/11\/18\/script-to-install-exchange-2010-pre-requisites-for-windows-server-2008-r2\/\" \/>\n<meta property=\"og:site_name\" content=\"Bhargav&#039;s IT Playground\" \/>\n<meta property=\"article:published_time\" content=\"2009-11-18T17:37:55+00:00\" \/>\n<meta name=\"author\" content=\"Bhargav\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Bhargav\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/bhargavs.com\\\/index.php\\\/2009\\\/11\\\/18\\\/script-to-install-exchange-2010-pre-requisites-for-windows-server-2008-r2\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/bhargavs.com\\\/index.php\\\/2009\\\/11\\\/18\\\/script-to-install-exchange-2010-pre-requisites-for-windows-server-2008-r2\\\/\"},\"author\":{\"name\":\"Bhargav\",\"@id\":\"https:\\\/\\\/bhargavs.com\\\/#\\\/schema\\\/person\\\/28f6d8c9b29f3a879483d65fc2ab5e26\"},\"headline\":\"Script to install Exchange 2010 pre-requisites for Windows Server 2008 R2\",\"datePublished\":\"2009-11-18T17:37:55+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/bhargavs.com\\\/index.php\\\/2009\\\/11\\\/18\\\/script-to-install-exchange-2010-pre-requisites-for-windows-server-2008-r2\\\/\"},\"wordCount\":133,\"commentCount\":23,\"publisher\":{\"@id\":\"https:\\\/\\\/bhargavs.com\\\/#\\\/schema\\\/person\\\/28f6d8c9b29f3a879483d65fc2ab5e26\"},\"keywords\":[\"2008 r2\",\"Exchange 2010\",\"pre-requisites\"],\"articleSection\":[\"Exchange 2010\",\"PowerShell\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/bhargavs.com\\\/index.php\\\/2009\\\/11\\\/18\\\/script-to-install-exchange-2010-pre-requisites-for-windows-server-2008-r2\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/bhargavs.com\\\/index.php\\\/2009\\\/11\\\/18\\\/script-to-install-exchange-2010-pre-requisites-for-windows-server-2008-r2\\\/\",\"url\":\"https:\\\/\\\/bhargavs.com\\\/index.php\\\/2009\\\/11\\\/18\\\/script-to-install-exchange-2010-pre-requisites-for-windows-server-2008-r2\\\/\",\"name\":\"Script to install Exchange 2010 pre-requisites for Windows Server 2008 R2 - Bhargav&#039;s IT Playground\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/bhargavs.com\\\/#website\"},\"datePublished\":\"2009-11-18T17:37:55+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/bhargavs.com\\\/index.php\\\/2009\\\/11\\\/18\\\/script-to-install-exchange-2010-pre-requisites-for-windows-server-2008-r2\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/bhargavs.com\\\/index.php\\\/2009\\\/11\\\/18\\\/script-to-install-exchange-2010-pre-requisites-for-windows-server-2008-r2\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/bhargavs.com\\\/index.php\\\/2009\\\/11\\\/18\\\/script-to-install-exchange-2010-pre-requisites-for-windows-server-2008-r2\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/bhargavs.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Script to install Exchange 2010 pre-requisites for Windows Server 2008 R2\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/bhargavs.com\\\/#website\",\"url\":\"https:\\\/\\\/bhargavs.com\\\/\",\"name\":\"Bhargav's IT Playground\",\"description\":\"Passion for Technology. Power of Collaboration.\",\"publisher\":{\"@id\":\"https:\\\/\\\/bhargavs.com\\\/#\\\/schema\\\/person\\\/28f6d8c9b29f3a879483d65fc2ab5e26\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/bhargavs.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/bhargavs.com\\\/#\\\/schema\\\/person\\\/28f6d8c9b29f3a879483d65fc2ab5e26\",\"name\":\"Bhargav\",\"logo\":{\"@id\":\"https:\\\/\\\/bhargavs.com\\\/#\\\/schema\\\/person\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/bhargavs.com\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Script to install Exchange 2010 pre-requisites for Windows Server 2008 R2 - Bhargav&#039;s IT Playground","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/bhargavs.com\/index.php\/2009\/11\/18\/script-to-install-exchange-2010-pre-requisites-for-windows-server-2008-r2\/","og_locale":"en_US","og_type":"article","og_title":"Script to install Exchange 2010 pre-requisites for Windows Server 2008 R2 - Bhargav&#039;s IT Playground","og_description":"Even though installing pre-requisites on Windows Server 2008 R2 is simple and straight forward as described here, it makes it even faster if you were to use a script to [&hellip;]","og_url":"https:\/\/bhargavs.com\/index.php\/2009\/11\/18\/script-to-install-exchange-2010-pre-requisites-for-windows-server-2008-r2\/","og_site_name":"Bhargav&#039;s IT Playground","article_published_time":"2009-11-18T17:37:55+00:00","author":"Bhargav","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Bhargav","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/bhargavs.com\/index.php\/2009\/11\/18\/script-to-install-exchange-2010-pre-requisites-for-windows-server-2008-r2\/#article","isPartOf":{"@id":"https:\/\/bhargavs.com\/index.php\/2009\/11\/18\/script-to-install-exchange-2010-pre-requisites-for-windows-server-2008-r2\/"},"author":{"name":"Bhargav","@id":"https:\/\/bhargavs.com\/#\/schema\/person\/28f6d8c9b29f3a879483d65fc2ab5e26"},"headline":"Script to install Exchange 2010 pre-requisites for Windows Server 2008 R2","datePublished":"2009-11-18T17:37:55+00:00","mainEntityOfPage":{"@id":"https:\/\/bhargavs.com\/index.php\/2009\/11\/18\/script-to-install-exchange-2010-pre-requisites-for-windows-server-2008-r2\/"},"wordCount":133,"commentCount":23,"publisher":{"@id":"https:\/\/bhargavs.com\/#\/schema\/person\/28f6d8c9b29f3a879483d65fc2ab5e26"},"keywords":["2008 r2","Exchange 2010","pre-requisites"],"articleSection":["Exchange 2010","PowerShell"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/bhargavs.com\/index.php\/2009\/11\/18\/script-to-install-exchange-2010-pre-requisites-for-windows-server-2008-r2\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/bhargavs.com\/index.php\/2009\/11\/18\/script-to-install-exchange-2010-pre-requisites-for-windows-server-2008-r2\/","url":"https:\/\/bhargavs.com\/index.php\/2009\/11\/18\/script-to-install-exchange-2010-pre-requisites-for-windows-server-2008-r2\/","name":"Script to install Exchange 2010 pre-requisites for Windows Server 2008 R2 - Bhargav&#039;s IT Playground","isPartOf":{"@id":"https:\/\/bhargavs.com\/#website"},"datePublished":"2009-11-18T17:37:55+00:00","breadcrumb":{"@id":"https:\/\/bhargavs.com\/index.php\/2009\/11\/18\/script-to-install-exchange-2010-pre-requisites-for-windows-server-2008-r2\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/bhargavs.com\/index.php\/2009\/11\/18\/script-to-install-exchange-2010-pre-requisites-for-windows-server-2008-r2\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/bhargavs.com\/index.php\/2009\/11\/18\/script-to-install-exchange-2010-pre-requisites-for-windows-server-2008-r2\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/bhargavs.com\/"},{"@type":"ListItem","position":2,"name":"Script to install Exchange 2010 pre-requisites for Windows Server 2008 R2"}]},{"@type":"WebSite","@id":"https:\/\/bhargavs.com\/#website","url":"https:\/\/bhargavs.com\/","name":"Bhargav's IT Playground","description":"Passion for Technology. Power of Collaboration.","publisher":{"@id":"https:\/\/bhargavs.com\/#\/schema\/person\/28f6d8c9b29f3a879483d65fc2ab5e26"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/bhargavs.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/bhargavs.com\/#\/schema\/person\/28f6d8c9b29f3a879483d65fc2ab5e26","name":"Bhargav","logo":{"@id":"https:\/\/bhargavs.com\/#\/schema\/person\/image\/"},"sameAs":["https:\/\/bhargavs.com"]}]}},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_likes_enabled":true,"jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":1675,"url":"https:\/\/bhargavs.com\/index.php\/2011\/12\/06\/new-pre-requisites-for-exchange-2010-service-pack-2-and-cas-role\/","url_meta":{"origin":200,"position":0},"title":"New pre-requisites for Exchange 2010 Service Pack 2 and CAS Role","author":"Bhargav","date":"December 6, 2011","format":false,"excerpt":"With release of Service Pack 2 for Exchange Server 2010, you gain few new features such as Cross-Site Silent Redirection for OWA, Address Book Policies, Mailbox Auto-Mapping and few other additions (What\u2019s new in Exchange 2010 SP2). With it, comes new pre-requisites if you are installing\/updating Client Access Server (CAS)\u2026","rel":"","context":"In &quot;Exchange 2010&quot;","block_context":{"text":"Exchange 2010","link":"https:\/\/bhargavs.com\/index.php\/category\/microsoft\/exchange-server\/exchange-2010\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1651,"url":"https:\/\/bhargavs.com\/index.php\/2010\/04\/07\/how-to-install-update-rollups-remotely-on-exchange-2010-server\/","url_meta":{"origin":200,"position":1},"title":"How to install Update Rollups remotely on Exchange 2010 server","author":"Bhargav","date":"April 7, 2010","format":false,"excerpt":"If you are like me, you are always looking for ways to not leave your chair, or for that matter, not switch windows. When it comes to install Update Rollups on every Exchange 2010 server you have, the same applies. So I set out to find a way and I\u2026","rel":"","context":"In &quot;Exchange 2010&quot;","block_context":{"text":"Exchange 2010","link":"https:\/\/bhargavs.com\/index.php\/category\/microsoft\/exchange-server\/exchange-2010\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":483,"url":"https:\/\/bhargavs.com\/index.php\/2012\/11\/16\/exchange-2013-setup-client-access-server-role-readiness-check-fails\/","url_meta":{"origin":200,"position":2},"title":"Exchange 2013 Setup &#8211; Client Access server role readiness check fails","author":"Bhargav","date":"November 16, 2012","format":false,"excerpt":"When installing Exchange 2013 servers in complex lab scenario, I decided to separate Mailbox and Client Access server roles to dedicated servers running Windows Server 2012. I installed Mailbox server role first and then proceeded to install Client Access role. Since Mailbox server role installed fine using setup UI and\u2026","rel":"","context":"In &quot;Exchange 2013&quot;","block_context":{"text":"Exchange 2013","link":"https:\/\/bhargavs.com\/index.php\/category\/microsoft\/exchange-server\/exchange-2013\/"},"img":{"alt_text":"image","src":"https:\/\/i0.wp.com\/bhargavs.com\/wp-content\/uploads\/2012\/11\/image_thumb3.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":1203,"url":"https:\/\/bhargavs.com\/index.php\/2015\/12\/23\/how-to-find-net-framework-version-using-powershell\/","url_meta":{"origin":200,"position":3},"title":"How to find .NET Framework version using PowerShell","author":"Bhargav","date":"December 23, 2015","format":false,"excerpt":"Often times when I am getting ready to install Exchange 2016 or Exchange 2013, I look at pre-requisites and wonder if correct version of .NET Framework is already installed on the server or not. It certainly saves me time if it is already installed and depending on status of latest\u2026","rel":"","context":"In &quot;PowerShell&quot;","block_context":{"text":"PowerShell","link":"https:\/\/bhargavs.com\/index.php\/category\/microsoft\/powershell\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1650,"url":"https:\/\/bhargavs.com\/index.php\/2010\/03\/29\/script-to-enable-preview-pane-for-powershell-scripts\/","url_meta":{"origin":200,"position":4},"title":"Script to enable preview pane for PowerShell scripts","author":"Bhargav","date":"March 29, 2010","format":false,"excerpt":"If you are running Windows 7, you probably know what preview pane is. And if you use PowerShell and create ps1 scripts, you may also wonder how can you enable preview for PowerShell scripts in Windows Explorer. Well, Nate Bruneau shared how to edit registry to enable preview for ps1\u2026","rel":"","context":"In &quot;PowerShell&quot;","block_context":{"text":"PowerShell","link":"https:\/\/bhargavs.com\/index.php\/category\/microsoft\/powershell\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1691,"url":"https:\/\/bhargavs.com\/index.php\/2013\/04\/07\/installing-wordpress-on-windows-server-2012\/","url_meta":{"origin":200,"position":5},"title":"Installing WordPress on Windows Server 2012","author":"Bhargav","date":"April 7, 2013","format":false,"excerpt":"Note: Article updated to reflect changes as of February 2016 Installing WordPress on Windows Servers have been a challenge for me in the past. Mostly because of my ignorance to web development and the pre-requisites such as PHP and MySQL. Pre-requisites especially because I didn\u2019t know where to get it,\u2026","rel":"","context":"In &quot;Windows Server&quot;","block_context":{"text":"Windows Server","link":"https:\/\/bhargavs.com\/index.php\/category\/microsoft\/windows\/windows-server\/"},"img":{"alt_text":"image","src":"https:\/\/i0.wp.com\/bhargavs.com\/wp-content\/uploads\/2013\/04\/image_thumb.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]}],"jetpack_shortlink":"https:\/\/wp.me\/pkROc-3e","_links":{"self":[{"href":"https:\/\/bhargavs.com\/index.php\/wp-json\/wp\/v2\/posts\/200","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bhargavs.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bhargavs.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bhargavs.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/bhargavs.com\/index.php\/wp-json\/wp\/v2\/comments?post=200"}],"version-history":[{"count":0,"href":"https:\/\/bhargavs.com\/index.php\/wp-json\/wp\/v2\/posts\/200\/revisions"}],"wp:attachment":[{"href":"https:\/\/bhargavs.com\/index.php\/wp-json\/wp\/v2\/media?parent=200"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bhargavs.com\/index.php\/wp-json\/wp\/v2\/categories?post=200"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bhargavs.com\/index.php\/wp-json\/wp\/v2\/tags?post=200"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}