[ I N T U N E - L A P S ]

Retrieve and rotate LAPS passwords from your terminal.

Search devices, view credentials, copy to clipboard, rotate on demand — one PowerShell command.

GitHub
v1.0.2 · PowerShell 7.0+

Features

Everything you need to manage LAPS passwords, in one tool.

🔍

Device Search

Search Entra ID devices by name with real-time results. Arrow-key navigation through matching devices with OS, trust type, and status details.

🔑

Password Retrieval

Retrieve LAPS local admin credentials via Microsoft Graph. Displays account name, decoded password, and last rotation timestamp.

📋

Clipboard Copy

Copy passwords directly to clipboard with Ctrl+C from the result screen. Visual confirmation so you know it worked.

🔄

On-Demand Rotation

Trigger immediate LAPS password rotation for Intune-managed devices with a confirmation prompt. New password appears after device check-in.

🛡

Secure by Design

Browser-based MSAL authentication on every launch. JWT scope validation warns immediately if required permissions are missing.

🌐

Cross-Platform

Works on Windows, macOS, and Linux. Platform-aware keyboard shortcuts and terminal handling across all environments.

Interactive TUI

Navigate with arrow keys, dynamic control bar that follows your actions, and inline prompts. Clean, focused terminal experience.

📦

Zero Config

Auto-installs required MSAL libraries on first run. No app registration needed to get started, or bring your own for full control.

🔧

Custom App Registration

Optionally configure a dedicated app registration with Configure-LAPS. Credentials persist as environment variables across sessions.

See It in Action

Full workflow — authentication, device search, password retrieval, and clipboard copy.

LAPS Demo

Screenshots

The interactive console experience.

Launch and Authentication
Launch & Authentication
Search for a Device
Device Search
Device Selection
Device Selection
Password Retrieved
Password Retrieved
Copy to Clipboard
Copy to Clipboard
Disconnect from Graph
Disconnect from Graph

Quick Start

Up and running in two commands.

Install
Install-Module -Name Intune-LAPS -Repository PSGallery
Run
Start-LAPS
Optional: Custom App Registration
# Configure once, use anytime
Configure-LAPS

Keyboard Shortcuts

Navigate the TUI with ease.

Shortcut Action
↑ ↓ Navigate device list
Enter Select / Confirm
Ctrl+C Copy password to clipboard
R Rotate password
S New search
Esc Go back
Ctrl+Q Disconnect & exit

API Permissions

Required delegated permissions for your app registration.

Password Retrieval

  • Device.Read.All
  • DeviceLocalCredential.Read.All

Password Rotation (Optional)

  • DeviceManagementManagedDevices.PrivilegedOperations.All