Skip to content

Microsoft Intune

Various management notes, mostly for myself

WinTuner

WinTuner is an easy help if you want to deploy apps, that's available using WinGet.
Content Prep Tool is also required, but a less feature rich re-implementation can be fetched with Install-Module -Name SvRooij.ContentPrep.Cmdlet if you prefer staying open source

Install-Module -Name WinTuner

WARNING: Contains telemetry that sends back the command WITH ARGUMENTS that you're running! :'(

Authenticate

Connect-WtWinTuner
It will ask you which account to initiate request for, so you can easily use a different account for security reasons.
Remember, you can always revoke the access again in MyApps

Add a new package

New-WtWingetPackage -PackageId "7zip.7zip" -PackageFolder "C:\wintuner"
Deploy-WtWin32App -PackageFolder "C:\wintuner\7zip.7zip\25.01"

Update a package

The Update-WtIntuneApp command is to update the properties of the app (assignments etc.)

If we want to update an app to a newer version, we'll do nearly the same as when adding a new one. First, navigate to the app in intune, look at the url, this will let you find your appId, you need this for the deploy command.
For example: https://intune.microsoft.com/#view/Microsoft_Intune_Apps/SettingsMenu/~/2/appId/79b7feb2-8da4-4ea3-97bf-3612a621f2ac

New-WtWingetPackage -PackageId "7zip.7zip" -PackageFolder "C:\wintuner"
Deploy-WtWin32App -PackageFolder "C:\wintuner\7zip.7zip\25.01" -GraphId "79b7feb2-8da4-4ea3-97bf-3612a621f2ac"

Providing the appId from the previous version, looks like it automatically update the assignments, which is pretty cool!