Skip to content

royklo/RKSolutions-Module

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RKSolutions PowerShell Module

PowerShell Gallery
CI
License: MIT

PowerShell module for Microsoft Graph–backed reports: Intune Enrollment Flows, Intune Anomalies, Entra Admin Roles, M365 License Assignment, and Custom Security Attributes. Connects to Microsoft Graph and generates interactive HTML reports.

About

This module is maintained by Roy Klooster (RK Solutions).

Repository structure

RKSolutions-Module/
├── README.md                 # This file
├── LICENSE                   # MIT
├── CONTRIBUTING.md           # How to contribute, fork & PR
├── .gitignore
├── .github/
│   ├── ISSUE_TEMPLATE/       # Bug report, feature request
│   ├── PULL_REQUEST_TEMPLATE.md
│   └── workflows/           # build-and-test.yml, trigger-publish.yml
├── docs/
│   ├── CMDLET-REFERENCE.md   # Parameters and example output
│   └── PERMISSIONS.md        # Microsoft Graph permissions per cmdlet
├── CHANGELOG.md              # Release history
├── module/                   # Script module (see module/README.md)
│   ├── RKSolutions.psd1
│   ├── RKSolutions.psm1
│   ├── README.md
│   ├── Public/               # Exported cmdlets
│   └── Private/              # Helpers
└── Tests/
    └── Consistency.Tests.ps1 # Pester tests

Prerequisites

  • PowerShell 7.0 or higher (Windows, macOS, Linux)
  • Microsoft.Graph.Authentication (and other Graph modules as required by the cmdlets)
  • Microsoft Graph permissions: App registration in Azure AD / Entra ID with the scopes required by the cmdlets you use. See Graph permissions (full list) for a per-cmdlet breakdown.

Installation

From PowerShell Gallery (recommended)

Install-Module -Name RKSolutions -Scope CurrentUser

From source (GitHub)

git clone https://github.com/royklo/RKSolutions-Module.git
cd RKSolutions-Module
Import-Module ./module/RKSolutions.psd1 -Force

Always run Import-Module from the repository root and use ./module/RKSolutions.psd1.

Quick start

# Connect to Microsoft Graph (default scopes cover all reports)
Connect-RKGraph

# Generate reports (examples)
Get-IntuneEnrollmentFlowsReport -AssignmentOverviewOnly
Get-IntuneAnomaliesReport
Get-EntraAdminRolesReport
Get-M365LicenseAssignmentReport
Get-CustomSecurityAttributesReport

# Disconnect when done
Disconnect-RKGraph

Cmdlets

Cmdlet Description
Connect-RKGraph Establishes a Microsoft Graph session for report cmdlets.
Disconnect-RKGraph Disconnects and clears the Graph session.
Get-IntuneEnrollmentFlowsReport Generates Intune assignment overview and/or device visualization report.
Get-IntuneAnomaliesReport Generates Intune anomalies report.
Get-EntraAdminRolesReport Generates Entra admin roles report.
Get-M365LicenseAssignmentReport Generates M365 license assignment report.
Get-CustomSecurityAttributesReport Generates Custom Security Attributes report across users, devices, and apps.

For full parameter details and examples, see Cmdlet Reference.

Contributing

We welcome contributions: fork the repo, make your changes, and open a pull request. See CONTRIBUTING.md for the workflow and how to report bugs.

Issues

License

MIT — Copyright (c) Roy Klooster - RK Solutions.

About

No description, website, or topics provided.

Resources

License

Contributing

Stars

2 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors