SvRooij.Winget-Intune.Cli 0.2.2

There is a newer version of this package available.
See the version list below for details.
dotnet tool install --global SvRooij.Winget-Intune.Cli --version 0.2.2                
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo
dotnet tool install --local SvRooij.Winget-Intune.Cli --version 0.2.2                
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=SvRooij.Winget-Intune.Cli&version=0.2.2                
nuke :add-package SvRooij.Winget-Intune.Cli --version 0.2.2                

Winget Intune packager CLI

Take any (just msi installers for now) app from winget and upload it to Intune in minutes.

  • Downloading the installer and the logo
  • Creating an intunewin file automatically
  • Generating the needed script information
  • Publish the app to Intune.

Installing

This package can be downloaded as a dotnet tool. Make sure you have Dotnet 7 installed on your computer.

# This command will install the tool
dotnet tool install --global Svrooij.Winget-Intune.Cli

# or to update to the latest version
dotnet tool update --global SvRooij.Winget-Intune.Cli

Commands

The CLI has several commands, try them out yourself.

Description:
  Enhanced Winget CLI for automations

Usage:
  winget-intune [command] [options]

Options:
  --version       Show version information
  -?, -h, --help  Show help and usage information

Commands:
  install <packageId>  Installs or upgrades a package
  check <packageId>    Check if a specific version in installed
  info <packageId>     Show package info as json
  package <packageId>  Package an app for Intune
  publish <packageId>  Publish an packaged app to Intune
  msi <msiFile>        Extract info from MSI file

Package

You should definitely try the package command. as it's the most important one. Package an app from winget as an intunewin file, ready for uploading to intune.

winget-intune package
Required argument missing for command: 'package'.

Description:
  Package an app for Intune

Usage:
  WingetIntune.Cli package [<packageId>] [command] [options]

Arguments:
  <packageId>  Package identifier

Options:
  -v, --version <version>                 Package Version
  -s, --source <source>                   Package source
  --temp-folder <temp-folder> (REQUIRED)  Folder to store temporaty files [default:
                                          C:\Users\stephan\AppData\Local\Temp\intunewin]
  --package-folder <package-folder>       Folder for the packaged apps
  -?, -h, --help                          Show help and usage information


Commands:
  image <image-path>  Convert an image to base64, to upload to Intune.

Library

You can also check-out the library if you want in integrate this into your own app. (soon)

Product Compatible and additional computed target framework versions.
.NET net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last updated
0.9.1 2,550 7/30/2024
0.9.0 779 7/25/2024
0.8.9 1,509 6/13/2024
0.8.8 1,281 5/28/2024
0.8.7 1,038 5/25/2024
0.8.6 1,554 5/7/2024
0.8.5 1,167 5/3/2024
0.8.4 1,845 4/24/2024
0.8.3 1,717 4/9/2024
0.8.2 659 4/7/2024
0.8.1 1,515 4/3/2024
0.8.0-alpha0008 261 1/9/2024
0.7.0 2,961 1/3/2024
0.7.0-alpha0007 373 1/2/2024
0.7.0-alpha0004 336 12/29/2023
0.6.1-alpha0002 262 12/27/2023
0.6.1-alpha0001 389 12/21/2023
0.6.0 915 12/21/2023
0.6.0-alpha0014 303 12/1/2023
0.6.0-alpha0013 245 12/1/2023
0.6.0-alpha0012 454 10/17/2023
0.6.0-alpha0010 380 10/4/2023
0.6.0-alpha0009 3,582 9/26/2023
0.6.0-alpha0008 320 9/23/2023
0.5.6-alpha0005 368 9/20/2023
0.5.5 554 9/18/2023
0.5.4 1,215 9/17/2023
0.5.3 1,691 9/17/2023
0.5.2 768 9/5/2023
0.5.1 612 9/1/2023
0.5.0 602 8/29/2023
0.4.1 514 8/22/2023
0.4.0 647 8/17/2023
0.3.0 2,297 8/16/2023
0.2.2 1,954 8/14/2023