我正在使用powershell在IIS中创建网站。该脚本的其中一个要求是它为连接设置了一个特定用户。我的问题是如何在PowerShell中设置此属性。我还需要设置密码,并在“连接为”对话框中选择“特定用户”。我还需要在绑定语句中设置IP地址。Powershell网站凭据帮助
我现在的剧本......
New-Item IIS:\Sites\www.repair-information.net -bindings @{protocol='http';bindingInformation=':8080:www.ri.net'} -PhysicalPath c:\ri\Web
有谁知道我怎样才能正确设置使用PowerShell这些属性。感谢您提供任何提示或技巧。我发现这个网站具有应用程序池的所有属性,没有人知道是否存在与网站特定属性类似的网站? App Pool powershell attribs
感谢这么多的帮助,
〜CK
那么实际的答案是什么? – 2012-02-15 20:54:49