All TagsPowerShell (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
  • Re: creating new iis site with powershell. strange behaviour

    switch from snapin to assembly .. it seems to me there is some bug or i am doing something wrong.. i'am doing the same for www and ftp site .. for www site log directory changes, for ftp - not below is sample code v130 - is the name for ftp site www.v130.ru - is the name of www site the commands...
    Posted to Forum by ish13 on 10-29-2009, 2:56 PM
  • creating new iis site with powershell. strange behaviour

    hello, i'm writing script in powershell 2 for site creation . found strange behavious in the following code # Start-WebCommitDelay New-WebAppPool $domain New-Website -Name $domain -HostHeader $domain -IPAddress $ipaddr -PhysicalPath $domainroot -ApplicationPool $domain New-WebFtpSite -Name $user...
    Posted to Forum by ish13 on 10-29-2009, 8:05 AM
  • Remote Powershell Connection to Outlook Live from IIS7 Application Pool

    I'm not quite sure if this is the right place for this question, but here goes. I have an interesting situation, let me explain: I have some WCF services that I need to host in IIS7. This .NET code is to help do administration of our email for students and employees at our university. Students are...
    Posted to Forum by Flaxxed1 on 10-23-2009, 5:25 PM
  • 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
  • hllo

    china
    Posted to Forum by zhanxiaobing on 10-11-2009, 12:54 PM
  • Powershell snapins

    I'm glad to see the official 1.0 release! MS Deploy has made a night-and-day difference in our build and deployment process (especially for our continuous integration server). I noticed, however, that when I installed the newest release the Powershell snapins were not installed. Did I leave something...
    Posted to Forum by lawrencc on 09-25-2009, 11:55 AM
  • 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
  • Failure when trying to install SQL Server Express 2008

    first error happens on the powershell. i don't see Powersehell installed on the server. Anybody can help me? Thanks! This is the log: DownloadManager Information: 0 : Loading product xml from 'https://go.microsoft.com/fwlink/?LinkId=156093' DownloadManager Information: 0 : Loading product...
    Posted to Forum by xelha on 08-18-2009, 12:33 PM
Page 1 of 4 (35 items) 1 2 3 4 Next >
Microsoft Communities