Skip to main content

New-IntuneWinPackage

Create a new IntuneWin package

This is a re-implementation of the IntuneWinAppUtil.exe tool, it's not feature complete use at your own risk.

Syntax​

Default parameter set (default)​

New-IntuneWinPackage -SourcePath <String> -SetupFile <String> -DestinationPath <String> [-PartialPackage]
ParameterReq.TypeDescription
-SourcePath✅StringThe directory containing all the installation files
-SetupFile✅StringThe main setupfile in the source directory
-DestinationPath✅StringDestination folder, should be outside the source folder
-PartialPackage❌SwitchCreate partial package, this will not zip the final IntuneWin. So it does not need extracting before uploading.

Examples​

Example 1​

Package all files in C:\Temp\Source, with setup file ..\setup.exe to the specified folder

New-IntuneWinPackage -SourcePath C:\Temp\Source -SetupFile C:\Temp\Source\setup.exe -DestinationPath C:\Temp\Destination