copy from network share

CopyItem Source \\server\share\file Destination C:\path\

 

Powershell

$WebClient = NewObject System.Net.WebClient
$WebClient.DownloadFile(“https://www.contoso.com/file”,“C:\path\file”)