All TagsPowerShelliis 7 (RSS)
  • Adding redirect settings to a website using PS

    Hi all, I want to set in a website a permanent HTTP redirection to a specific URL. I tried the following: New-ItemProperty -Filter "/system.webServer/httpRedirect" -PSPath "IIS:\Sites\$name" -value @{enabled="true";destination=$target;exactDestination="true";httpResponseStatus...
    Posted to Forum by davidtreves on 11-18-2009, 8:19 PM
  • FTP virtual directory, help!!!!!!!!!!!

    I am trying to create an FTP virtual directory, but some having some issues. so far I have: New-Item IIS:\ Sites\SFTP \ $folder -type VirtualDirectory -physicalPath d:\temp\$folder However, how do I set the other properties, like’ FTP Authorization Rules’? The $folder variable is defined earlier in the...
    Posted to Forum by Vloors on 11-03-2009, 6:13 AM
  • Set Website App Pool

    Hello, I want to be able to set my websites app pool through powwershell. Right now they're all set to DefaultAppPool. As the picture below shows I want to able to assign the FileCopyService app pool to the FileCopyService website. Any ideas on how to script this in Powershell Modules ? I don't...
    Posted to Forum by t-angrui on 10-14-2009, 6:25 PM
  • Can't use IIS snapin when using powershell from c#

    Trying to execute a powershell script that sets up a website. I have it working in the powershell ISE but can't get it to work when using it from c#. Error I get is: Retrieving the COM class factory for component with CLSID {688EEEE5-6A7E-422F-B2E1-6AF00DC944A6} failed due to the following error...
    Posted to Forum by tjeerd.mulder on 09-24-2009, 3:50 PM
  • Generating CSR

    Hi All, I need to generate CSR for different servers again and again. So that i can raise a request for SSL certificate. I have to manually login to all servers and create the Request file. Is there any way that i can locally/remotely generate the request ? Using Microsoft.Web.Administration or WMI or...
    Posted to Forum by gauravmajithia on 06-13-2009, 10:04 AM
  • Re: Change Log Directory

    Matt - If you just what the answer it's here: http://urbanelementuk.blogspot.com/2009/05/iis7-change-site-logs-location-via.html
    Posted to Forum by timmi30 on 05-05-2009, 1:08 PM
  • How can I use the IIS 7 Powershell snap-in with Windows 7?

    I tried installing the IIS 7 Powershell snap-in (both 32 and 64 bit versions) on Windows 7, but I just get the message: "The PowerShell snap-in is part of Windows Operating System. Please install it via "Programs and Features' or 'Server Manager'." I've looked in "Programs...
    Posted to Forum by BIH on 04-17-2009, 6:56 AM
  • IIS provider and PowerShell remoting

    if I use get-website on an IIS machine everythign works fine. If I want to use the remoting capability in PowerShell v2 I get an error. I have PS v2 CTP 3 installed on client and IIS machine. PS> Invoke-Command -Session $rsweb1 -ScriptBlock { Get-WebSite } name : Default Web Site id : 1 serverAutoStart...
    Posted to Forum by rsiddaw on 02-07-2009, 11:37 AM
  • Windows PowerShell Provider for IIS 7.0 - Remote administration now available?

    I downloaded the new Windows Powershell Provider for IIS today. Did I misunderstand the below statement? "Execute repetitive administrative tasks across servers with ease The seamless integration with Windows PowerShell means that you can use the familiar Windows PowerShell console to execute tasks...
    Posted to Forum by puyleart on 02-02-2009, 4:53 PM
  • How to change value for RapidFailProtection of ApplicationPool.Failure?

    I tried couple of ways and it always comes back as TRUE: PS C:\Users\Administrator> $newapppool.failure.rapidfailprotection True PS C:\Users\Administrator> $newapppool.failure.rapidfailprotection=0 PS C:\Users\Administrator> $newapppool.failure.rapidfailprotection True PS C:\Users\Administrator>...
    Posted to Forum by zdenek on 12-08-2008, 5:31 PM
Page 1 of 2 (17 items) 1 2 Next >
Microsoft Communities