【发布时间】:2020-02-27 14:40:40
【问题描述】:
我需要获得应用程序池的回收时间。 我不能使用 powershell,所以我为此使用了 appcmd.exe。我发现有一个命令:
%windir%\System32\inetsrv\appcmd.exe LIST APPPOOL test /text:recycling.periodicRestart.schedule.[value='08:23:00'].value
因此,现在它可以检查是否已在特定时间安排回收。 我想 appcmd 将此数据作为一个集合使用。有什么办法可以拿到第一件吗?
【问题讨论】: