最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Powershell 返回打开浏览器的 URL

运维笔记admin18浏览0评论

Powershell 返回打开浏览器的 URL


(New-Object -comObject Shell.Application).Windows() `

| where {($_.FullName -ne $null) -and ($_.FullName.toLower().EndsWith("iexplore.exe")) } `
| foreach { $_.locationURL } 


彻底退出。

foreach { $_.quit()}


发布评论

评论列表(0)

  1. 暂无评论