Archive

Archive for the ‘Scripting’ Category

IIS 7.0 PowerShell Provider CTP2 Released

July 7th, 2008 No comments

Last week Microsoft released the Community Technology Preview 2 (CTP2) of the new PowerShell Provider for IIS 7.0, it’s now available for download from the IIS.net website.

New features in CTP2:

  • IIS7 Powershell provider now supports SSL (installing and acquiring a certificate, creating an ssl site binding)
  • Tech Preview 2 ships with 40 new cmdlets. All of these cmdlets are for day-to-day IIS tasks like creating web-sites, web-applications, enabled request tracing, adding a handler or a module.

PowerShell Provider features:

  • Create Web-Sites, Web Applications, Virtual Directories and Application Pools
  • Change Simple Configuration Properties on Web-Sites, Application Pools, Web Applications and Virtual Directories
  • Add and Change Complex Configuration Settings
  • Query Run-time Data (Web-Site State, Application Pool State, Currently Executing Requests)
  • Execute Advanced Configuration Tasks, Scripting, Integration with other PowerShell Snap-Ins and features
  • Search and Discover Configuration Settings

Download links:

Read more at Thomas Deml’s blog.

Categories: Scripting Tags:

IIS 7.0 – How to script and automate configuration

June 3rd, 2008 No comments

Bill Staples has nice blog post about how to script and automate IIS 7.0 configuration, without writing code using the Configuration Editor.

Here is how you can generate code for ANY IIS7 configuration change, without writing a line yourself.

Read his post here.

Related articles on IIS 7.0 and PowerShell:

Categories: Scripting Tags:

PodCast: IIS 7.0 PowerShell Provider

April 30th, 2008 No comments

Want to hear more about the new IIS 7.0 PowerShell Provider, a new PodCast has been released. The PodCast includes an interview with Thomas Deml a senior Program Manager in the IIS Team.

Topics of the PodCast:

  • Talk about the IIS7 management cmdlets
    • Get/Set-WebConfiguration
    • Start-WebItem
    • Remove-WebConfigurationProperty
    • Ability to use XPath filters
  • Talk about the IIS7 PSprovider
    • Provider timeline – 2nd beta in June, final in October
    • Features
      • ability to configure IIS and ASP.net, sites, vdirs, apps, all that
      • ability to delegate
      • root of namespace: sites, app pools
  • What does the future hold (that you can discuss)
    • We talk about Server Core
  • Find the PodCast here.

    Categories: Scripting Tags: , ,

    IIS PowerShell Provider – step-by-step

    April 23rd, 2008 No comments

    Jeong Hwan from the IIS Team has posted a nice little article about the new PowerShell Provider for IIS 7.0. The article is for users who have never experienced Windows PowerShell and want to use the IIS PowerShell Provider and provides various examples.

    Read his article here: Learning IIS PowerShell Provider (Step by Step).

    Categories: Scripting Tags: , , ,

    IIS 7.0 PowerShell Provider Released

    April 15th, 2008 No comments

    Microsoft has released a Technical Preview 1 of the PowerShell Provider for IIS 7.0. The new provider is a snap-in that allows you to manage IIS 7.0 configuration.

    The IIS7 PowerShell Provider allows you to

    • Create Web-Sites, Web Applications, Virtual Directories and Application Pools
    • Change Simple Configuration Properties on Web-Sites, Application Pools, Web Applications and Virtual Directories
    • Add and Change Complex Configuration Settings
    • Query Run-time Data (Web-Site State, Application Pool State, Currently Executing Requests)
    • Execute Advanced Configuration Tasks, Scripting, Integration with other PowerShell Snap-Ins and features
    • Search and Discover Configuration Settings

    Download the Technical Preview 1 here:

    Categories: Scripting Tags: , ,

    Windows PowerShell Released

    November 15th, 2006 No comments

    Windows PowerShell 1.0 has been released during Microsoft IT Forum in Barcelona.

    For those of you who doesn’t know PowerShell yet, it’s Microsofts next-generation commandline shell designed from the ground up to be flexible and powerful while still remaining easy to use.

    Windows PowerShell is supported on multiple platforms (x86, x64 & Itanium) and by multiple language technologies (English language, Localized and Multilingual User Interface).

    Download Windows PowerShell 1.0

    Source: PowerShell Blog

    Categories: Scripting Tags:

    No Touch Administration

    October 4th, 2006 No comments

    The guys a MSCOM has posted a collection of nice scripts, which they use in their work on MSCOM.

    Remote Desktop has changed the way we interact with our servers.  However if you have a farm of 50+ servers…heck even 10 servers, having to Remote into each server can not only be time consuming but cause your fingerprints to wear off.  Utilizing tools such as WMI (Windows Management Instrumentation), For Loop and PSEXEC you can administer a large number of servers remotely with minimum joint pain. The Examples below go from beginning WMI usage to more advanced techniques. These scripts are meant to be a base to start from and help you build a powerful toolset.

    Read their full post at source.

    Categories: IIS, Scripting Tags:

    Windows PowerShell RC2 Now Available

    September 27th, 2006 No comments

    Today Microsoft announced the availability of Windows PowerShell RC2.
    The command line shell and scripting language that helps IT Professionals achieve greater productivity and control of system administration. Using a new admin-focused scripting language and consistent syntax and utilities, Windows PowerShell accelerates automation.  Windows PowerShell is easy to adopt, learn, and use, because it works with existing IT infrastructure and scripting tools.

    This Release Candidate 2 of Windows PowerShell addresses numerous customer requests based on their evaluation of Beta3 and RC1 including:

    • Direct ADSI support to allow IT Pros to more easily administer Active Directory
    • Improved support for Windows Management Instrumentation through ability to change WMI properties via methods
    • Additional logical operators (XOR and binary XOR) that make it easier to write sophisticated scripts
    • Improved help content and help functionality including new views that make it easier to find the right information.
    • Windows PowerShell 1.0 will release-to-web in Q4 CY06
    • Windows PowerShell will be leveraged by Microsoft Exchange Server 2007 and System Center Operations Manager 2007.

    Customers can download Windows PowerShell RC2 at: http://support.microsoft.com/kb/925228

    Categories: Scripting Tags: