O'Reilly logo

Windows PowerShell® 2.0 Bible by Tome Tanasovski, Mark E. Schill, Karl Mitschke, Thomas Lee

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CHAPTER 15

Managing Internet Information Services 7

IN THIS CHAPTER

Installing the necessary components

Browsing IIS

Scripting deployments

Managing IIS

Digesting log files

Extending Windows PowerShell to manage IIS 7 script deployments and changes

Managing services and configuration backups

Working with IIS logs

Internet Information Services (IIS) is the collection of web, FTP, and SMTP services that is shipped with Microsoft's Windows server and desktop operating systems. IIS 7.0 was shipped with Windows Server 2008 and Windows Vista. IIS 7.5 is being shipped with Windows Server 2008 R2 and Windows 7. The Windows PowerShell cmdlets and provider that are used with IIS 7 give you complete control over the web and FTP services available in IIS.

The Windows PowerShell provider and cmdlets give you a robust way of managing web services. Automating management and deployment tasks for IIS is useful for a variety of reasons:

  • Controlling the configuration of IIS through scripts allows for less administrator error when moving changes made in development into testing and production environments.
  • Using Windows PowerShell as a deployment method for websites means that your code can easily extend to any IIS 7 server. This technique, along with virtualization and cloud technologies, can be used to spin up new servers on demand to meet your processing and bandwidth needs.
  • IIS 7 is one of the roles available to Windows Server Core (the stripped-down command line-only version of Windows 2008). ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required