Browse by Tags

All TagsPowerShell (RSS)
  • Re: PowerShell and IIS 6.0

    Why don't you trying to use the IIS WMI object? Most of IIS functionailities are open via WMI interface and these are all visible from powershell environment. Try get-wmiobject -namesapce "root/MicrosoftIISv2" -list
    Posted to Forum by mathgig on 07-10-2008, 1:16 PM
  • IIS7 PowerShell Provider Tech Preview 2

    The IIS 7.0 Tech Preview V2.0 is ready for you: What’s new with TP2? · IIS7 Powershell provider now supports SSL (installing and acquiring a certificate, creating an ssl site binding) · Tech Preview 2 ships with 40 new cmdlets. All of these cmdlets are for day-to-day IIS tasks like creating web-sites...
    Posted to Forum by JeongHwan on 07-02-2008, 6:48 PM
  • PowerShell and IIS 6.0

    Is it possible to run PowerShell scripts against IIS 6? I see a bunch of examples for IIS 7 but I am still running 6.0 on Win2k3. (Or do I still need to use Adsutil.vbs) I want to script the log location for a web site. Any pointers to resources would be GREAT. Thanks! Matthew
    Posted to Forum by MatthewMcD on 06-20-2008, 6:46 PM
  • Powershell, ADSI and IIS 6 (on Win2003)

    I am trying to script the change of ScriptMaps variable on some IIS Websites (IIS 6 on Win2003). I have been using ADSI to get the value but I cannot find a way to Set (Put) the value. ([ADSI]"IIS://$computer/$name").Properties["ScriptMaps"] So i tried this: PS > $scriptmaps =...
    Posted to Forum by thompsonson on 05-22-2008, 1:24 PM
  • Add ftp publishing (to an existig site) from Powershell or with appcmd

    Hi, does anybody know how to add FTP publishing to an existing Web site from within Powershell or using appcmd. I am able to create/delete sites using new-object Microsoft.Web.Administration.ServerManager but I can't find any information how to add FTP publishing to an existing site.
    Posted to Forum by jerzym on 04-17-2008, 7:33 AM
  • IS add-pssnapin for IIS provider always required??

    Hello Ppl, Is it always required to do a add-pssnapin for PS IIS Provider everytime I start a new session of Windows PowerShell. Everytime I try any cmdlet for PS IIS provider it throws as error, but, once I do a add-pssnapin for the IIS provider everything gets into place and all is well.. what am I...
    Posted to Forum by ma_khan on 04-15-2008, 2:13 PM
  • Re: PowerShell Provider for IIS7

    Alastair , Are you running PowerShell with Admin privileges?? To try out our scenario I tried out a little thing... I ran PowerShell with a user of non-admin privilege and did a add-pssnapin for the IIS provider ... it gave me the warning and everything cool till now... but then when I ran get-item for...
    Posted to Forum by ma_khan on 04-15-2008, 1:35 PM
  • Re: PowerShell Provider for IIS7

    gonna ask you a weird question .... but have you installed the IIS provider that came in the msi package? because for me too it worked just fine.... probably if you have already done that ... then can you pass on some config specifics.... and this will be output for the get-itemproperty PS C:\Users\Administrator>...
    Posted to Forum by ma_khan on 04-15-2008, 12:37 PM
  • Re: PowerShell Provider for IIS7

    Great... Finally we have PowerShell integration with IIS 7 Installed and ready to go... Had a quick hiccup though ... I wanted to get-item for the default web site and this is what it gave me Get-Item : A parameter cannot be found that matches parameter name 'Web'. At line:1 char:9 + get-item...
    Posted to Forum by ma_khan on 04-14-2008, 7:37 PM
Page 1 of 1 (9 items)
Page view counter