Sample_Package.ps1
Remove-Module -Name IntuneWin32App -Force # Import module Import-Module -Name C:\GoogleDrive\Scripts\PowerShell\Intune\Modules\IntuneWin32App\IntuneWin32App.psd1 # Package MSI as .intunewin file $SourceFolder = "C:\Temp\IntuneWinAppUtil\Source\7-Zip" $SetupFile = "7z1900-x64.msi" $OutputFolder = "C:\Temp\IntuneWinAppUtil\Output" New-IntuneWin32AppPackage -SourceFolder $SourceFolder -SetupFile $SetupFile -OutputFolder $OutputFolder -Verbose |