Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » Sample Code   (RSS)
Question: I need to audit web servers in my domain, and would like to be able to connect to each server, and enumerate the virtual directories -- ultimately leading to a link to each web site hosted by the server. Can this code be modified to get that Read More...
IIS7 core extensibility model supports both native and managed code as first-class citizens. So, I feel it is time for a little refresher on managed/native code interop... starting with the more popular route of how to wrap native code API for use within Read More...
I recently got a question about how to manipulate the LIST data type within JScript since my sample code only illustrated VBScript. Well... one reason why that example is in VBScript is because LIST manipulation (a VB SafeArray) is more straight forward Read More...
I think Virtual Server Events and Asynchronous Tasks are two of the least utilized features of the Virtual Server Administration API. Contrary to the often-asked task of "find the VM, turn it off, manipulate its VHD, then turn it back on", which shows Read More...
A short while ago, I came out with a small script to properly configure PHP for IIS7. Sure enough, I got asked to make a similar one for IIS6. So, I figure that while I am at it, I might as well cover IIS4, IIS5, and IIS5.1 as well since it is not very Read More...
A couple of months ago, I wrote a quick and dirty entry on how to install PHP on IIS7. The main purpose of that entry was to explain the details of what was going on as well as cookie-cutter instructions of one way to successfully install PHP on IIS7. Read More...
I recently got a request to make a script to illustrate how to enumerate useful values from both Web and FTP sites serviced by IIS, so I decided to make some additions to the original script tool located here to allow it to easily enumerate both Web and Read More...
I am finishing up on the series of ASP pages that show how to: Send Responses of arbitrary Status Code Send Responses with arbitrary types of Entity Body Send Responses with arbitrary Headers (this entry) Query Request Headers (this entry) You know, the Read More...
Sometimes, you just want a simple test page on IIS to do some automated testing of your code that interacts with IIS. Here is another useful one in the series. Question: Hi, I have some negative testing therefore need to have IIS to return 403, 404 or Read More...
Question: Hi , I have two web servers. One web server(w2k3Ent) and IIS 6.0 in a work group and One identical Web Server in the Domain. I want to now rename the Server names of the both, to comply some policy. Will the IIS functionality be affected because Read More...
Developers frequently confuse Request Headers, Response Headers, and Server Variables as well as the appropriate syntax to retrieve/manipulate each of them, depending on the API (ISAPI, ASP, and ASP.Net). I am going to clarify all of this right now. :-) Read More...
Question: I would like to have a night script to run on guest machines and perform the following tasks: 1. start / restore from saved state if machine is not running (preferably disconnected from network in order to preserve resources) 2. run on the guest Read More...
Question: I have a Windows XP SP2 machine that requires IIS running only sometimes, so I set these service to Manual startup (I use a script to start them when I need them): IIS Admin Simple Mail Transfer Protocol (SMTP) World Wide Web Publishing However Read More...
In an ideal world, everything runs as native bitness (64bit program on 64bit OS, 32bit program on 32bit OS) and life goes on. However, sometimes you need to run that legacy 32bit program on a 64bit OS and need to configure things a little differently Read More...
Question: Hello, I am looking to automate installation of an ISAPI filter since I want it to be a part of my server deployment. Is there a way to install an ISAPI filter dll using a javascript or a vbscript? If yes can someone give me pointers to the Read More...
More Posts Next page »
 
Page view tracker