Skip to content

Instantly share code, notes, and snippets.

@TomasBouda
Created March 20, 2020 15:39
Show Gist options
  • Save TomasBouda/d31ce7cb714f060608e8e73c239862c0 to your computer and use it in GitHub Desktop.
Save TomasBouda/d31ce7cb714f060608e8e73c239862c0 to your computer and use it in GitHub Desktop.
function Open-Chrome {
param(
[Parameter(Mandatory = $true)]
[string]$Url
)
Start-Process -FilePath 'C:\Program Files (x86)\Google\Chrome\Application\chrome.exe' -ArgumentList $Url
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment