All Tags > APPCMD (RSS)
  • Appcmd help on text string carriage return line feed

    I am trying to add a carriage return line feed to a string value on my FTP site via appcmd. I am trying to add a banner message like this: %windir%\System32\inetsrv\appcmd.exe set site MyFTPSite /ftpServer.messages.bannerMessage:"Warning! Unauthorized use is strictly prohibited." I wish to...
    Posted to Forum by brandon.mcgarvey on 11-19-2009, 1:50 PM
  • FTP command filtering using appcmd

    I am trying to figure out how to add FTP command filters using appcmd.exe. I just flat out do not understand the syntax for the command. The syntax that I believe I need to use is one of these: appcmd.exe set site MyFTPSite /ftpServer.security.commandFiltering.[command='string'].command appcmd...
    Posted to Forum by brandon.mcgarvey on 11-18-2009, 12:24 PM
  • Possible bug: Unable to set the "debug" attribute in the "compilation" section in web.config

    There seems to be a bug in the APPCMD tool that prevents me from changing the "debug" attribute of the "compilation" section of a web.config file. I can change other attributes such as "batch" and "defaultLanguage" but the "debug" attribute refuses to...
    Posted to Forum by kevin_k on 11-14-2009, 11:41 AM
  • Re: Redirects in IIS7 propagating out to all other redirect sites?

    I responded earlier to this with the suggestion of using a unique directory for each site, which does work. I'm now using a different technique which is to store the actual redirection configuration at a higher level (applicationhost.config) instead of the site's web.config file. This allows...
    Posted to Forum by SQLRocks on 11-11-2009, 3:03 PM
  • I want to use appcmd to put <clear /> element into defaultDocument

    I am trying to set up the same web site on multiple computers. I want to use a bat file to configure default documents. The site has several applications in different virtual directories that are directly under wwwroot. I am using appcmd like this: "%windir%\system32\inetsrv\appcmd.exe" set...
    Posted to Forum by brewbill03 on 10-28-2009, 4:19 PM
  • appcmd exit codes

    Looking for a list of appcmd exit codes, if it exists. I have a vbscript that checks for the appcmd exit code of 0 or non-zero. e.g. "ReturnCode = wshshell.run appcmd..." returning success for 0 and error for non-zero codes. I would like to know what the exit codes stand for. Thank you, James
    Posted to Forum by jamescpk on 09-14-2009, 8:45 PM
  • How do I reference a site by ID using IIS7 APPCMD?

    I know how to reference a site by name to stop and start it? For example: appcmd stop site /site.name:"Microsoft SharePoint Administration" How do I reference a site using its IIS ID? I tried these variations: appcmd start stop /site.id:2 appcmd start stop /site.id:"2" appcmd start...
    Posted to Forum by kevin_k on 09-02-2009, 11:52 AM
  • Setting Authentication on a Folder Under a Virtual Directory using Appcmd or Microsoft.Web.Administration in IIS7

    I've been trying to find a way using scripting (appcmd) or the Microsoft.Web.Administration class in C# to change the Authentication settings on a Folder under a Virtual directory. Does anybody have an idea how to do this? Thanks, Rob
    Posted to Forum by robblis on 08-05-2009, 7:07 PM
  • Re: How to translate a IISAPP.vbs command to IIS7 Appcmd.exe

    This will show you the details: appcmd apppool /? This will do the equivalent: appcmd recycle apppool "MyAppPool"
    Posted to Forum by davcox on 07-21-2009, 3:32 PM
  • Re: appcmd backup bug?

    Hmm, it looks like you may have found a bug ... basically AppCMD is hardcoded to look at the default History location, rather than look up the history location from config and then reference that location. Perhaps you can trick AppCMD by creating an alias in the "default" History folder that...
    Posted to Forum by davcox on 07-07-2009, 12:28 PM
Page 1 of 5 (41 items) 1 2 3 4 5 Next >
Microsoft Communities