document.write('
Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. # Code Snippet from aperturescience.su
  2.  
  3. $regresult = reg export $key $destfile /y 2>&1
  4. if ($lastexitcode -gt 0)
  5. {
  6.    send-email "Export registry key $key to $destfile failed $regresult" $false
  7.    if ($stoponerror) { exit 10 }
  8. }
  9. else
  10. {
  11.    send-email "Export registry key $key to $destfile succeeded" $true
  12. }
  13.  
  14. # Code Snippet from aperturescience.su
');