admin管理员组

文章数量:1337119

Powershell 返回打开浏览器的 URL


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

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


彻底退出。

foreach { $_.quit()}


本文标签: 打开浏览器PowerShellURL