adric: (Hacker)
windows console spam )

Or, with the DotNet assemblies (libraries) loaded in ...
PS C:\scripts> $sm = ( New-Object Microsoft.Web.Administration.ServerManager )
PS C:\scripts> $sm.Sites | Select Id, Name

 Id Name
 -- ----
  1 Default Web Site
  2 longhorn

ala: http://blogs.iis.net/tobintitus/archive/2006/11/30/powershell-and-microsoft-web-administration.aspx

Profile

adric: books icon (c) 2004 adric.net (Default)
adric

May 2025

S M T W T F S
    1 23
45678910
11121314151617
18192021222324
25262728293031

Links

Syndicate

RSS Atom

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated 13 June 2025 09:03 pm
Powered by Dreamwidth Studios