OS: | Windows | |
Type: | A Windows PowerShell script | |
Language: | Windows PowerShell | |
Description: |
Get-BingBackgroundImages downloads a Bing XML-file (
After determining the save locations, which are set with
By using the Bing API with AJAX calls it seems to be possible to retrieve up to 14 days old pictures and up to 8 images at a time. To retrieve all currently available Bing background images in the default 1920x1080 resolution along with the 1080x1920 portrait variants as well from the default Bing market (
.\Get-BingBackgroundImages.ps1 -Index 0 -NumberOfImages 7 -Log -IncludePortrait .\Get-BingBackgroundImages.ps1 -Index 7 -NumberOfImages 8 -Log -IncludePortrait
Please note that Get-BingBackgroundImages proceeds towards the history, when handling multiple images. Please also note that if any of the individual parameter values include space characters, the individual value should be enclosed in quotation marks (single or double) so that PowerShell can interpret the command correctly. This script is based on Jeffrey's script "Get-BingImage.ps1". |
|
Homepage: | https://github.com/auberginehill/get-bing-background-images
Short URL: http://tinyurl.com/jjnuvqr |
|
Version: | 1.0 | |
Sources: | Emojis: | Emoji Table |
Jeffrey: | Get-BingImage.ps1 | |
clayman2: | Disk Space (or one of the archive.org versions) | |
ps1: | Test Internet connection (or one of the archive.org versions) | |
Tobias Weltner: | PowerTips Monthly vol 10 March 2014, Read raw web page content (or one of the archive.org versions) | |
Downloads: | For instance Get-BingBackgroundImages.ps1. Or everything as a .zip-file. |
📐 |
|
---|---|
|
➡️ |
|
||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Default values (the log file (
|
|
|
|
📖 | To open this code in Windows PowerShell, for instance: | ||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Bugs: | Bugs can be reported by creating a new issue. | |
Feature Requests: | Feature request can be submitted by creating a new issue. | |
Editing Source Files: | New features, fixes and other potential changes can be discussed in further detail by opening a pull request. |
🌐 | Script Homepage |
---|---|
Jeffrey: Get-BingImage.ps1 | |
clayman2: Disk Space (or one of the archive.org versions) | |
ps1: Test Internet connection (or one of the archive.org versions) | |
Tobias Weltner: PowerTips Monthly vol 10 March 2014, Read raw web page content (or one of the archive.org versions) | |
Remove Unwanted Quotation Marks from CSV Files by Using PowerShell | |
Uri Class | |
Powershellv2 - remove last x characters from a string | |
Append files using export-csv for PowerShell 2 | |
PowerShell script to download Bing's daily image as a wallpaper | |
Is there a way to get Bing's photo of the day? | |
Bing Image Download | |
ASCII Art: http://www.figlet.org/ and ASCII Art Text Generator |