< Back

Invoke-WebSearch

Tue Jan 14, 2020 3:36 am

NAME Invoke-WebSearch



SYNOPSIS

Do a quick search online





SYNTAX

Invoke-WebSearch [-SearchQuery] <String> [[-SearchEngine] <String>] [<CommonParameters>]





DESCRIPTION

Search anything using online search engine (Default: Google)





PARAMETERS

-SearchQuery <String>

Search Querry to be searched for



Required? true

Position? 2

Default value

Accept pipeline input? true (ByValue)

Accept wildcard characters? false



-SearchEngine <String>

Name of Search Engine to be used



Required? false

Position? 3

Default value Google

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

System.String

The search query





OUTPUTS

None

Opens your default webbrowser with the search query





NOTES





General notes



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Invoke-WebSearch 'Invoke-Automation'



Search Google for "Invoke-Automation"











RELATED LINKS