脚本可以更新 IIS 6.0 中应用程序池属性的“身份”选项卡字段吗?
我是一名开发人员,我已经找到了 Web 服务身份验证问题的解决方案,其中涉及确保由于多个网络跃点而维护 Kerberos。简而言之:
- 为托管 Web 服务的虚拟目录建立了一个单独的应用程序池。
- 该应用程序池的身份设置为可配置帐户(域名\用户名,它将保持不变,但我认为强密码每 90 天就会以某种方式更改);在给定的时间点,我们的系统管理员知道或可以通过某种方式获得密码)。
是否有一种脚本语言可用于为此应用程序设置新的应用程序池,然后按描述设置身份(而不是在 IIS 中手动将数据输入到属性页中)?
我认为我们的系统管理员对 Powershell 了解一点,但有人可以帮助我为他提供一些使用的东西(随着应用程序的推出,他将需要在另外 2 台服务器上重复此操作)。谢谢。
I am a developer and I have arrived at a solution to a webservice authentication problem that involved ensuring Kerberos was maintained because of multiple network hops. In short:
- A separate application pool for the virtual directory hosting the webservice was established
- The Identity of this application pool is set to a configurable account (DOMAINname\username which will remain constant but the strong password is somehow changed every 90 days I think); at a given point in time, the password is known or obtainable somehow by our system admin).
Is there a script language that could be used to setup a new application pool for this application and then set the identity as described (rather than manual data entry into property pages in IIS)?
I think our system admin knows a little about Powershell but can someone help me offer him something to use (he will need to repeat this on 2 more servers as the app is rolled out). Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以使用这样的 PowerShell 脚本:
You can use such PowerShell script: