19 Mar 2012

Automatic IIS Configuration Script for SharePoint 2010

Just found out this batch script from Microsoft. Maybe you ever found this solution, but better to share piece by piece than just share the link from Microsoft.


The code below actually just to tick some other features in IIS needed for SharePoint 2010 installation. I found this script very useful especially when you want a rapid deployment to production, just run the batch job, and IIS feature prerequisites action will be OK. And then after this batch job, you can run any other required steps before install SharePoint 2010.

IIS Features for SP 2010
  1. start /w pkgmgr /iu:IIS-WebServerRole;IIS-WebServer;IIS-CommonHttpFeatures;^
  2. IIS-StaticContent;IIS-DefaultDocument;IIS-DirectoryBrowsing;IIS-HttpErrors;^
  3. IIS-ApplicationDevelopment;IIS-ASPNET;IIS-NetFxExtensibility;^
  4. IIS-ISAPIExtensions;IIS-ISAPIFilter;IIS-HealthAndDiagnostics;^
  5. IIS-HttpLogging;IIS-LoggingLibraries;IIS-RequestMonitor;IIS-HttpTracing;IIS-CustomLogging;IIS-ManagementScriptingTools;^
  6. IIS-Security;IIS-BasicAuthentication;IIS-WindowsAuthentication;IIS-DigestAuthentication;^
  7. IIS-RequestFiltering;IIS-Performance;IIS-HttpCompressionStatic;IIS-HttpCompressionDynamic;^
  8. IIS-WebServerManagementTools;IIS-ManagementConsole;IIS-IIS6ManagementCompatibility;^
  9. IIS-Metabase;IIS-WMICompatibility;WAS-WindowsActivationService;WAS-ProcessModel;^
  10. WAS-NetFxEnvironment;WAS-ConfigurationAPI;WCF-HTTP-Activation;^
  11. WCF-NonHTTP-Activation

Save it to notepad, with *.BAT extensions, and run it. Hope it helps you out! You can share this article to anyone you know, or tick +1 if you helped by this article… Smile with tongue out

Tidak ada komentar:

Posting Komentar

[give me your ideas, hopes, comments and compliments below...]
[aaand...... +1 if you need to....]