IntuneCLI 1.0.1

There is a newer version of this package available.
See the version list below for details.
dotnet tool install --global IntuneCLI --version 1.0.1
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 IntuneCLI --version 1.0.1
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=IntuneCLI&version=1.0.1
nuke :add-package IntuneCLI --version 1.0.1

IntuneAssistant

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

In this very first version one small command is available to help you removing duplicate devices from Intune. The current version has two supported platforms, Windows and macOS.

The Windows client can be downloaded here: The IntuneCLI Windows
The macOS client can be downloaded here: The IntuneCLI macOS

theintuneCLI.png

Authentication

To authentication use this command. The command opens a browser for interactive login.

./IntuneAssistant.Cli auth login

cliLogin.jpeg

To log out use:

./IntuneAssistant.Cli auth logout

Intune Assignments overview

To view all assignments in Intune use this command:

./IntuneAssistant.Cli show assignments

Intune Group Assignments overview

To view all assignments in Intune use this command:

./IntuneAssistant.Cli show assignments groups

To view a specific group based on group name, overview use this command:

./IntuneAssistant.Cli show assignments groups --group-name "All Users"

To view a specific group based on group id, overview use this command:

./IntuneAssistant.Cli show assignments groups --group-id 000-0000

To export the overview to CSV use:

./IntuneAssistant.Cli show assignments groups --group-id 000-0000 --export-csv filename.csv

intune-groupoverview

Help

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

./IntuneAssistant.Cli auth -h
./IntuneAssistant.Cli show devices -h
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
2.1.1 337 4/29/2024
2.1.0 262 4/28/2024
2.0.0 517 3/27/2024
1.0.8 928 1/14/2024
1.0.7 889 1/3/2024
1.0.6 912 12/19/2023
1.0.5 1,013 12/11/2023
1.0.4 860 11/29/2023
1.0.3 224 11/28/2023
1.0.2 908 11/28/2023
1.0.1 1,013 11/28/2023