A PowerShell module to handle Google Image Search
This module enables users to search Windows lock screen wallpaper images or any another image in Google Search Image. This module works only in Windows PowerShell.
- User can search any image in Google Image Search from PowerShell.
- User can easily search Windows lockscreen images in Google Image Search from PowerShell.
Run PowerShell as administrator and type:
Install-Module -Name GoogleImageSearchand import module into workspace by typing:
Import-Module -Name GoogleImageSearchSearch-Image -ImagePath C:\Pictures\SomeImageToSearch.jpgReads the image SomeImageToSearch.jpg in C:\Pictures path and use this image to query Google Image Search.
Get-ChildItem -Path 'C:\Pictures' -Filter '*.jpg' | Search-ImageReads all images in C:\Pictures and pipes them into Search-Image where are used to query Google Image Search.
Search-WindowsLockScreenWallpapersSearch of the five latest downloaded wallpaper images in Google Image Search. It will open five or less tabs in the default web browser.
Search-WindowsLockScreenWallpapers -DumpFilesSearch of the five latest downloaded wallpaper images in Google Image Search. It will open five or less tabs in the default web browser. The wallpaper images will be dumped into C:\Temp directory.
Search-WindowsLockScreenWallpapers -DumpFiles -DumpPath D:\TempSearch of the five latest downloaded wallpaper images in Google Image Search. It will open five or less tabs in the default web browser. The wallpaper images will be dumped into custom D:\Temp directory. The input directory is created if doesn't exist.
Search-WindowsLockScreenWallpapers -NumberOfImages 2 -DumpFiles -DumpPath D:\TempSearch of the two latest downloaded wallpaper images in Google Image Search. It will open five or less tabs in the default web browser. The wallpaper images will be dumped into custom D:\Temp directory. The input directory is created if doesn't exist.
GoogleSearchModule at PowerShell Gallery
Script to use Google Image Search with local image as input
Get list of image files with specific dimensions as file objects using PowerShell