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>
Parameter | Req. | Type | Description |
---|---|---|---|
-SourcePath | ✅ | String | The directory containing all the installation files |
-SetupFile | ✅ | String | The main setupfile in the source directory |
-DestinationPath | ✅ | String | Destination 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