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>
ParameterReq.TypeDescription
-SourcePathStringThe directory containing all the installation files
-SetupFileStringThe main setupfile in the source directory
-DestinationPathStringDestination folder, should be outside the source folder

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