查看应用程序池配置:
Get-WMIObject -class IISApplicationPoolSetting -namespace "root\microsoftiisv2" |where {$_.name -eq "W3SVC/APPPOOLS/api"}
Get-WmiObject -Namespace root\WebAdministration -ComputerName . -Class Server
gwmi -list * -namespace "root\microsoftiisv2"
=========================
Get-Module -ListAvailable
Import-Module WebAdministration 导入IIS管理模块
gci iis:\
查看应用程序池配置
时间: 2024-10-20 18:09:49