Advertisement
Guest User

Untitled

a guest
Sep 17th, 2019
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $CMD = '$dirfiles\SP81428\hpqFlash64.exe'
  2. $arg1 = '-s'
  3. $arg2 = '-p'
  4. $arg3 = '$dirfiles\SP81428\pwd.bin'
  5. $arg4 = '-f'
  6. $arg5 = '$dirfiles\SP81428\68ICF.CAB'
  7. & $CMD $arg1 $arg2 $arg3 $arg4 $arg5
  8.  
  9. $args = @('-s','-p','$dirfiles\SP81428\pwd.bin','-f','$dirfiles\SP81428\68ICF.CAB')
  10. & '$dirfiles\SP81428\hpqFlash64.exe' $Args
  11.  
  12.  
  13. Execute-Process -Path "$dirfiles\SP81428\hpqFlash64.exe" -Parameters "-s -p`"$dirfiles\SP81428\pwd.bin`" -f`"$dirfiles\SP81428\68ICF.CAB`""
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement