Skip to content

srozemuller/IntuneAssistant

Repository files navigation

General module information

CurrentVersion Issues Beta Beta

Nuget GitHub last commit (branch)

Buy Me A Coffee

IntuneAssistant

Welcome to The IntuneCLI. This CLI helps you managing Microsoft Intune environments.

Installation

To use this tool several options are available and can be use on Windows, MacOS and Linux. In any way you first need to install at least dotnet 7.0. To install dotnet use the commands below.

Install dotnet 7 sdk Windows

winget install --id Microsoft.DotNet.SDK.7 --source winget --log C:\Temp\install.log Check the link on Microsoft Learn for installing dotnet 7.0 on Windows.

Install dotnet 7 sdk macOS

Check the link on Mircosoft Learn

Restart the terminal.

NuGet

The recommended way to install this tool is with the use of the NuGet repository. Using the NuGet repository simplifies the download process. By using the install command below the correct package is selected automatically.
Another advantage is using the NuGet installation method is that the command intuneCli becomes available in your whole system. You don't have to execute the specific file.

Add the nuget feed

dotnet nuget add source https://api.nuget.org/v3/index.json --name nuget.org

This command will install the tool

dotnet tool install --global IntuneCLI

Update to the latest version

dotnet tool update --global IntuneCLI

Clear nuget cache (if the tool is not found)

It can happen that the update process does not find the latest package available on NuGet. In that case, you have to clear the local NuGet cache.

dotnet nuget locals all --clear

Help

If you need more information about all commands available use the -h option in a specific area. Examples:

intuneCli auth -h
intuneCli show devices -h

Check for all information and commands: https://rozemuller.com/intunecli