Welcome to The IntuneCLI. This CLI helps you managing Microsoft Intune environments.
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.
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.
Check the link on Mircosoft Learn
Restart the terminal.
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.
dotnet nuget add source https://api.nuget.org/v3/index.json --name nuget.org
dotnet tool install --global IntuneCLI
dotnet tool update --global IntuneCLI
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
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