title: How can I use adb to uninstall all 3rd party user apps?
body: <p>I am trying to create a script that will retrieve and uninstall all user apps in one batch operation through <code>adb</code>. Does anyone know how I would be able to do this?</p>
  
  <p>I can currently list out all 3rd party apps through</p>
  
  <pre><code>adb shell pm list packages -3
  </code></pre>
  
  <p>Could I somehow direct the list of packages this generates into an uninstall command in <code>adb</code>?</p>