text 从Powershell安装Google Chrome
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了text 从Powershell安装Google Chrome相关的知识,希望对你有一定的参考价值。
$LocalTempDir = $env:TEMP; $ChromeInstaller = "ChromeInstaller.exe"; (new-object System.Net.WebClient).DownloadFile('http://dl.google.com/chrome/install/375.126/chrome_installer.exe', "$LocalTempDir\$ChromeInstaller"); & "$LocalTempDir\$ChromeInstaller" /silent /install; $Process2Monitor = "ChromeInstaller"; Do { $ProcessesFound = Get-Process | ?{$Process2Monitor -contains $_.Name} | Select-Object -ExpandProperty Name; If ($ProcessesFound) { "Still running: $($ProcessesFound -join ', ')" | Write-Host; Start-Sleep -Seconds 2 } else { rm "$LocalTempDir\$ChromeInstaller" -ErrorAction SilentlyContinue -Verbose } } Until (!$ProcessesFound)
以上是关于text 从Powershell安装Google Chrome的主要内容,如果未能解决你的问题,请参考以下文章
powershell 从http://code.google.com/p/tridion-powershell-modules/试用SDL Tridion 2013 PowerShell模块。另见Tr
powershell 从http://code.google.com/p/tridion-powershell-modules/试用SDL Tridion 2013 PowerShell模块。另见Tr
text Powershell脚本从nuget feed下载所有包
在Google Backup and Sync文件夹中运行PowerShell
从 WIX 包安装 PowerShell 模块
使用 Powershell 从 GMAIL API 获取消息正文