简体   繁体   English

Powershell脚本获取IIS配置详细信息

[英]Powershell script to get IIS configuration details

I am looking for fairly generic powerhell cdm allowing me to get the information about IIS - which directory is the log being written to and which fields it is logging. 我正在寻找相当通用的powerhell cdm,使我能够获取有关IIS的信息-哪个目录正在写入日志,哪个目录正在记录日志。

I need to query circa 400 servers in the environment and check for the differences 我需要查询环境中的约400台服务器并检查差异

We use 2008 r2 with IIS 7 我们将2008 r2与IIS 7结合使用

Thanks a lot in advance 在此先多谢

Yeah I know IIS has WMI interfaces which are pretty solid. 是的,我知道IIS具有相当稳定的WMI接口。 You'll need to look up the classes though. 不过,您需要查找类。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM