Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have posted a question about how to check if web service is installed, but I have realized this is not I am looking for.

There is the next case - on Windows machine is installed the IIS. That service hosts 2 sites - http://localhost/site1 and http://localhost/site2 (just an example) that represent soap endpoints.

How can I check if there is installed site2 having only ssh access ?


To specify this case:

I am automating a test script.

In this script soap web services are checked.

One of test steps is to check if SOAP endpoint is installed on target machine.

After that I should try the connectivity to this end-point (this is not a problem, it's implemented in Java already)

So, using anything,but HTTP connection, I should check if this SOAP "site" is installed on machine.

Thank you in advance.

share|improve this question
up vote 1 down vote accepted

Are you sure that it's SSH access that you have? That's very rare on a windows box. To manage IIS, you generally use IIS Manager if you were given access, or for a shared hosting situation, it's common for them to give FTP access and then allow you to manage the site settings using their control panel.

Can you provide further information on what you can see now? For example, do you see the site structure with the files, or do you see something different?

share|improve this answer
I have updated the question. – StKiller Apr 13 '11 at 15:42
Using HTTP is by far the easiest and more consistent way to confirm that the endpoint is functioning correctly. Confirm that you get valid content from a test. Testing with SSH access will require confirming that IIS is working, that the app pool is started, possibly checking that permissions are correct, and confirming that the site content exists in the correct path. Even that doesn't fully test everything. So, this really depends on what level of testing you need to feel confident that it works correctly. I would recommend doing what you can to update your test to an http test if possible. – Scott Forsyth - MVP Apr 13 '11 at 19:50
Yep, I agree, in this case it's easier to update the test script. I thought there is any simple way within cmd. Thank you :) – StKiller Apr 14 '11 at 9:57

If you have access to Powershell you can use the IIS admin cmdlets.


  • Get-WebApplication
  • Get-WebVirtualDirectory

Depends on your config as to what you can use.

share|improve this answer
Yep, is possible, but not so simple. I should in this case write a powershell script, upload it to server and so on... But anyway thank you for your answer :) – StKiller Apr 14 '11 at 9:55

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.