Skip to content

✨ handling PSADT deploy-application.exe

Latest
Compare
Choose a tag to compare
@UniverseCitiz3n UniverseCitiz3n released this 25 Oct 10:01

I've added feature that allows to test your PSADT based apps in Sandbox.
What is PSADT? Check here - https://psappdeploytoolkit.com/

What are requirements to use this feature?
Add "PSADT" suffix to a folder which contains your app and all PSADT items.
Like:
image
Insides:
image

Changes in Invoke-IntunewinUtil.ps1:

if ($Folder.FullName -like '*PSADT'){
    $ArgumentList = "-c `"$($Folder.FullName)`" -s `"$($Folder.FullName)\Deploy-Application.exe`" -o `"$($Folder.FullName)`" -a `"$($Folder.FullName)`" -q"
} else{
    $ArgumentList = "-c `"$($Folder.FullName)`" -s `"$($Folder.FullName)\$($Folder.Name).ps1`" -o `"$($Folder.FullName)`" -a `"$($Folder.FullName)`" -q"
}