Marcel Venema
Save PowerShell installation files to disk
Here is a quick script to save the latest PowerShell installation files from the Github repository to disk. The script will save all available binaries of the latest release to a folder on disk.

View the script from my Github repository
Parameters:
- Destination: Destination folder to store installation files. A new folder with the version number will be created. The destination folder must exist. If the destination folder is not specified, the current folder will be used.
- Force: Overwrite files in the destination folder.