I've used the following sites to help me get this far and to troubleshoot.
I am trying to download random files from SharePoint folder, …
variables powershell sharepoint copy download
copy ×1
download ×1
powershell ×1
sharepoint ×1
variables ×1