Save-OSDDownload

Get-Help -Full

PS C:\> Get-Help -Full Save-OSDDownload
NAME
Save-OSDDownload
SYNOPSIS
Downloads a file from the internet
SYNTAX
Save-OSDDownload [-SourceUrl] <String> [-DownloadFolder <String>] [-Overwrite] [-BitsTransfer] [<CommonParameters>]
DESCRIPTION
Downloads a file from the internet. Success returns $true
PARAMETERS
-SourceUrl <String>
URL of the file to download
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-DownloadFolder <String>
Destination Folder
Required? false
Position? named
Default value "$env:TEMP\OSD"
Accept pipeline input? false
Accept wildcard characters? false
-Overwrite [<SwitchParameter>]
Overwrite the file if it exists already
The default action is to skip the download
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-BitsTransfer [<SwitchParameter>]
Download the file using BITS-Transfer
Interactive Login required
Required? false
Position? named
Default value False
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
OUTPUTS
NOTES
19.10.25 David Segura @SeguraOSD
RELATED LINKS
https://osd.osdeploy.com/module/functions/save-osddownload