[Console]::OutputEncoding = [System.Text.Encoding]::UTF8
$ErrorActionPreference = 'Continue'

$chrome = "C:\Program Files\Google\Chrome\Application\chrome.exe"
Write-Host "Testing: $chrome"
Write-Host "Exists: $(Test-Path $chrome)"
Write-Host "Size: $((Get-Item $chrome).Length) bytes"

# Try simple launch
Write-Host "Launching..."
$p = Start-Process $chrome -ArgumentList "--version" -PassThru -Wait -NoNewWindow
Write-Host "ExitCode: $($p.ExitCode)"
