< Back

Get-FileFromUrl

Sat Jan 11, 2020 2:40 pm

NAME Get-FileFromUrl



SYNOPSIS

This function downloads a file from a URL.





SYNTAX

Get-FileFromUrl [-fileUrl] <String> [-destinationPath] <String> [<CommonParameters>]





DESCRIPTION





PARAMETERS

-fileUrl <String>

The URL of the file.



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-destinationPath <String>

The destination path for the file.



Required? true

Position? 2

Default value

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

System.IO.FileInfo







RELATED LINKS