gpt4 book ai didi

iis - 如何获取IIS启动经典ASP的时间?

转载 作者:行者123 更新时间:2023-12-04 07:06:52 26 4
gpt4 key购买 nike

如何获取IIS启动经典ASP的时间?

最佳答案

' This works on my machine... '
Option Explicit
Dim objWMIService, procs, proc, creationDate
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\.\root\cimv2")

Set procs = objWMIService.ExecQuery ("Select * from Win32_Process where name='inetinfo.exe'")

For Each proc In procs
creationDate = creationDate & vbCr & proc.CreationDate
Next

关于iis - 如何获取IIS启动经典ASP的时间?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/997388/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com