【问题标题】:When creating App Pool and Virtual Dir Config创建应用程序池和虚拟目录配置时
【发布时间】:2010-02-12 21:59:51
【问题描述】:

我正在使用创建的应用程序池和虚拟目录here 我试图弄清楚如何在几分钟内为应用程序池和虚拟目录设置回收工作进程我试图更改脚本和可执行文件的执行权限,为虚拟添加相同的用户名和密码权限目录,不确定这是否可能,但在 powershell 中添加一个映射。我也在使用 iis 6.0。

【问题讨论】:

    标签: powershell iis-6


    【解决方案1】:

    好的,这里是添加的信息:

    $newPool.PeriodicRestartTime = 60  #sets the recycle worker processes(in minutes)
    
    $newVDir.AccessExecute = $True               #sets execuatable access
    $newVDir.AccessScript = $True                #sets script access
    $newVDir.AnonymousUserName = $poolUserName   #sets user name
    $newVDir.AnonymousUserPass = $poolPassword   #sets user password
    

    我还没有找到如何添加额外的映射,但看看微软是否可以回答其中的一些问题。

    祝你好运。

    【讨论】:

      猜你喜欢
      • 2013-11-16
      • 1970-01-01
      • 1970-01-01
      • 2018-02-25
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2010-12-28
      相关资源
      最近更新 更多