Get-GoogleSearch.ps1
19 Sep 2025Description
Get-GoogleSearch
is a minimal helper that fires off a Google search using whatever arguments you pass. It simply appends the raw arguments to the query string and launches your default browser.
Usage examples
Get-GoogleSearch PowerShell splatting
Get-GoogleSearch "Azure AD Connect prerequisites"
This is handy when working in the console and you need to jump into a web search without leaving the keyboard.
Script
function Get-GoogleSearch {
Start-Process "https://www.google.co.uk/search?q=$args"
}
Download
Please feel free to copy parts of the script or if you would like to download the entire script, simple click the download button. You can download the complete repository in a zip file by clicking the Download link in the menu bar on the left hand side of the page.
Report Issues
You can report an issue or contribute to this site on GitHub. Simply click the button below and add any relevant notes. I will attempt to respond to all issues as soon as possible.