you probably want to look at this: How do I use PSAppDeployTookit with Intune? - #5 by That-Annoying-Guy