Search the Community
Showing results for tags 'powershell'.
-
Install Google Chrome on Windows Server with a Powershell Script
Влади posted a blog entry in Влади's Blog
$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 Silentl- 2 comments
-
- windows server
- powershell
-
(and 3 more)
Tagged with:
-
Влезте в powershell като потребител TrustedInstaller с помощта на ProcessHacker Plugin https://wj32.org/processhacker/forums/viewtopic.php?t=2407 или ExecTI https://winaero.com/download.php?view.1991 Windows 2012/2016/10 Get-ChildItem -Path "hklm:\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Adobe-Flash-*" | Set-ItemProperty -Name Visibility -Value 1 Get-ChildItem -Path "hklm:\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Adobe-Flash-*"