# Download file $response = Invoke-WebRequest -Uri $Url -Headers $Headers -OutFile $OutFile -ErrorAction Stop
LOCAL_CHECKSUM=$(sha256sum "$FILE_NAME" | awk 'print $1') lmc 8.4 config file download r18
#--- Perform download ---------------------------------------------------- HTTP_RESPONSE=$(curl -sS -w "%http_code" -H "Authorization: Bearer $API_KEY" \ -H "Accept: application/x-yaml" \ -o "$FILE_NAME" "$URL") # Download file $response = Invoke-WebRequest -Uri $Url