Загрузка данных


$src = "C:\путь\report.asp"
$dst = "C:\путь\report.pdf"

$b = [System.IO.File]::ReadAllBytes($src)
[System.IO.File]::WriteAllBytes($dst, $b[4..($b.Length-1)])