Pulling files from the sharepoint

Job ID: 33011417

Budget: $10 – $30 USD

need PS to download file from the standpoint. My script seems to be working but the size of the file shrinks. When I download manually size is 3800mb when I run my script it downloads only 190kb

$url = "https://********.sharepoint.com/sites/APMO/Reports/Project_Listing_Raw_Data.csv?isSPOFile=1"
# Destation file
$dest = "C:\Users\*****\Project_Listing_Raw_Data.csv”
# Download the file
Invoke-WebRequest -Uri $Url -OutFile
Related categories: PHP JavaScript C# Programming HTML Powershell