IntuneCLI 1.0.1
See the version list below for details.
dotnet tool install --global IntuneCLI --version 1.0.1
dotnet new tool-manifest # if you are setting up this repo dotnet tool install --local IntuneCLI --version 1.0.1
#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
Authentication
To authentication use this command. The command opens a browser for interactive login.
./IntuneAssistant.Cli auth login
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
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 | Versions 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. |
This package has no dependencies.