{"id":919,"date":"2013-01-11T14:32:55","date_gmt":"2013-01-11T03:32:55","guid":{"rendered":"http:\/\/howden.net.au\/thowden\/?p=919"},"modified":"2013-01-11T14:32:55","modified_gmt":"2013-01-11T03:32:55","slug":"getting-a-list-of-iis-web-sites-with-the-ws3svc-identity-number","status":"publish","type":"post","link":"https:\/\/howden.net.au\/thowden\/2013\/01\/getting-a-list-of-iis-web-sites-with-the-ws3svc-identity-number\/","title":{"rendered":"Getting a list of IIS web sites with the WS3SVC identity number"},"content":{"rendered":"<p>As per the title, this is for IIS7 and rather than manually trawling through the IIS Manager to find all the site ID numbers so that I can get to the log files, this command exports them to a spreadsheet \/ text file.<\/p>\n<p>At the command prompt on the Windows Server &#8211; noting that you will probably need to run the Command Prompt As Administrator<\/p>\n<p>[bash]<\/p>\n<p>%windir%system32inetsrvappcmd list site &gt; c:sites.xls<\/p>\n<p>[\/bash]<\/p>\n<p>Then get the file by copying or whatever to a machine with Excel on it and open it up.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>As per the title, this is for IIS7 and rather than manually trawling through the IIS Manager to find all the site ID numbers so that I can get to the log files, this command exports them to a spreadsheet \/ text file. At the command prompt on the Windows Server &#8211; noting that you [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[28,22],"tags":[],"class_list":["post-919","post","type-post","status-publish","format-standard","hentry","category-awstats","category-windows-servers"],"_links":{"self":[{"href":"https:\/\/howden.net.au\/thowden\/wp-json\/wp\/v2\/posts\/919","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/howden.net.au\/thowden\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/howden.net.au\/thowden\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/howden.net.au\/thowden\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/howden.net.au\/thowden\/wp-json\/wp\/v2\/comments?post=919"}],"version-history":[{"count":0,"href":"https:\/\/howden.net.au\/thowden\/wp-json\/wp\/v2\/posts\/919\/revisions"}],"wp:attachment":[{"href":"https:\/\/howden.net.au\/thowden\/wp-json\/wp\/v2\/media?parent=919"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/howden.net.au\/thowden\/wp-json\/wp\/v2\/categories?post=919"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/howden.net.au\/thowden\/wp-json\/wp\/v2\/tags?post=919"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}