Recent Posts

3
Comments

How to automate Windows 7 PowerShell start-up with IIS Module by sergeia

Some of our customers don't like to make multiple steps that required to bring IIS module into PowerShell in WIndows 7 RC. Fortunately, there is a way to automate this routine, like we did for Out-Of-Band release. 1. If you are getting errors like "File...
4
Comments

New features in RTW of PowerShell IIS snap-in by sergeia

IIS team announced the release of PowerShell snapin at the MIX 09 conference in March. Since the last preview release we added number of features and changed format of XPath queries. In this post I will describe some of these changes. Support of file...
2
Comments

IIS Snapin extensibility. Part 5. by sergeia

Super types from assemblies In my previous post I explained how to extend namespace objects using XPath queries and PowerShell script properties. We also discussed performance implications from these extension techniques. Today I will show you how to...
1
Comments

IIS snapin extensibility. Part 4. by sergeia

Making super types Today I will show you how to extend existing namespace types with your data. There are at least half a dozen ways to do this. PowerShell Extended Type System could be used to add extra properties into any type as NoteProperty, ScriptProperty...
1
Comments

XPath, PowerShell and custom trust level in ASP.NET by sergeia

When you manage IIS and related products you often need to deal with configuration files that are not part of IIS configuration. You cannot use cmdlets from IIS7 PowerShell snapin for those files, but you could use XPath engine, provided by managed framework...
1
Comments

IIS snapin extensibility. Part 3. by sergeia

Adding custom types to provider namespace To add new entry into IIS namespace you will need to prepare your own XML file with name ending with 'namespace.xml' and copy it into the same folder, where NavigationTypes.namespace.xml is located. During startup...
1
Comments

IIS snapin extensibility. Part 2. by sergeia

Provider namespace extensions IIS snap-in for Powershell includes provider and number of commands. Today I would like to explain, how you could change namespace, using just provider layout file. In most common case it will not require any coding. If you...
1
Comments

IIS snapin extensibility. Part 1. by sergeia

Configuration schema extensions IIS configuration is an open system, it easily could be extended by end user through schema extension and through adding extended methods, elements and attributes to existing elements. This is described in great details...
1
Comments

Extension cmdlets for IIS – done right way by sergeia

In my previous post I explained how to write your custom commands, that are based on lower level cmdlets. Well, there is a problem with this approach. As soon as we call InvokeScript() passing command line as string, PowerShell interpreter will process...
1
Comments

Simple way of extending PowerShell objects with custom methods by sergeia

As you may know, IIS configuration is extensible. You could add new section, extend existing one by adding new schema file into folder containing schemas. All this was described in full details in the article of Tobin Titus. When we provide methods on...
1
Comments

How to change output format in PowerShell by sergeia

I was looking around the Net today and stumbled on the post in Scott Hanselman's blog , where he talks about technical and marketing aspects of product naming in Microsoft. There he shows display format for IIS application pools that may be relevant to...
1
Comments

How we use XPath in IIS PowerShell namespace by sergeia

IIS 7 configuration API's were designed as DOM: you always have to start from top level data structure and work your way to the data you need, either collection element or child element attributes. It is quite annoying model when you are building generic...
1
Comments

IIS7 PowerShell support -- details of our design by sergeia

After IIS team released Technical Preview of our PowerShell provider and commands, we got a few rants and grumblings from our customers. Some people pointed to complexity of IIS PowerShell provider and command parameters. Other people denied the need...
2
Comments

Hello, everyone! by sergeia

Hi, I would like to introduce myself first. My name is Sergei Antonov, I am a developer and I spent with IIS team more than 10 years in various capacities, working on administration and configuration tools for IIS. During these years I worked on design...
More Posts
Powered by Community Server (Commercial Edition), by Telligent Systems