查看应用程序池配置:

 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:\

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-11-21
  • 2022-12-23
  • 2021-09-07
  • 2021-06-18
  • 2022-12-23
  • 2021-11-16
猜你喜欢
  • 2022-01-25
  • 2021-05-17
  • 2022-02-18
  • 2021-10-11
  • 2022-12-23
相关资源
相似解决方案