MapiADTools
1.2.0
MapiADTools is a collection of advanced PowerShell functions for Windows and Active Directory administration. It focuses on system diagnostics, client management, and rapid inventory by combining high-speed parallel processing with deep-dive analysis.
--- Available Functions ---
[ Reporting & Diagnostics ]
- Get-ComputerReport (gcr): All-in-one client health da
--- Available Functions ---
[ Reporting & Diagnostics ]
- Get-ComputerReport (gcr): All-in-one client health da
MapiADTools is a collection of advanced PowerShell functions for Windows and Active Directory administration. It focuses on system diagnostics, client management, and rapid inventory by combining high-speed parallel processing with deep-dive analysis.
--- Available Functions ---
[ Reporting & Diagnostics ]
- Get-ComputerReport (gcr): All-in-one client health dashboard (ping, OS, uptime, reboot, AD last logon).
- Get-PendingReboot (gpr): Comprehensive check for pending reboot reasons (CBS, WU, MECM, etc.).
- Get-M365UpdateSource: Diagnoses the M365 Apps update source (MECM, GPO, ODT) and task health.
- Get-ClientActivity: Creates a timeline of computer power events (logon, shutdown, sleep).
[ AD & User Management ]
- Get-ADUserInfo (gadu): Flexible AD user search (name, SAM) with password expiry, last logon, and MECM PC data.
- Set-ADUserMustChangePassword: Toggles the "User must change password at next logon" flag.
- Test-ADUserMailboxMigrationStatus: Checks a user's Exchange Hybrid mailbox migration state.
- Get-ComputerLastOnline (lol): Finds a computer's most accurate last logon time by querying all DCs.
- Get-Win10ADClient: Queries AD for Win 10/11 clients, showing friendly OS names (e.g., 23H2).
[ Client Inventory & Management ]
- Get-InstalledSoftware (soft): Inventories software on remote computers with remote uninstallation.
- Get-FastPing (fping): High-performance, parallel ping with reverse DNS validation for large lists.
- Get-ClientUptime (uptime): Gets computer uptime and interactively logged-on users.
- Get-OSVersion (os): Retrieves detailed OS info (build, friendly name like 23H2).
- Get-MappedDrives: Lists all mapped network drives for active user sessions.
- Get-ClientFQDN (fqdn): Gets a client's FQDN from its NetBIOS name and copies it to the clipboard.
- Test-AdminAccess (IsAdmin): Checks for local admin privileges on target computers.
[ Advanced ]
- Invoke-GarbageCollection (igc): Manually triggers .NET Garbage Collection for memory profiling.
--- Sample Workflow ---
# 1. Get a complete, all-in-one status report for a client:
PS> Get-ComputerReport PCNAME
# 2. Inventory software on that machine:
PS> Get-InstalledSoftware PCNAME
# You can then pipe the results to filter and uninstall in your console.
Show more
--- Available Functions ---
[ Reporting & Diagnostics ]
- Get-ComputerReport (gcr): All-in-one client health dashboard (ping, OS, uptime, reboot, AD last logon).
- Get-PendingReboot (gpr): Comprehensive check for pending reboot reasons (CBS, WU, MECM, etc.).
- Get-M365UpdateSource: Diagnoses the M365 Apps update source (MECM, GPO, ODT) and task health.
- Get-ClientActivity: Creates a timeline of computer power events (logon, shutdown, sleep).
[ AD & User Management ]
- Get-ADUserInfo (gadu): Flexible AD user search (name, SAM) with password expiry, last logon, and MECM PC data.
- Set-ADUserMustChangePassword: Toggles the "User must change password at next logon" flag.
- Test-ADUserMailboxMigrationStatus: Checks a user's Exchange Hybrid mailbox migration state.
- Get-ComputerLastOnline (lol): Finds a computer's most accurate last logon time by querying all DCs.
- Get-Win10ADClient: Queries AD for Win 10/11 clients, showing friendly OS names (e.g., 23H2).
[ Client Inventory & Management ]
- Get-InstalledSoftware (soft): Inventories software on remote computers with remote uninstallation.
- Get-FastPing (fping): High-performance, parallel ping with reverse DNS validation for large lists.
- Get-ClientUptime (uptime): Gets computer uptime and interactively logged-on users.
- Get-OSVersion (os): Retrieves detailed OS info (build, friendly name like 23H2).
- Get-MappedDrives: Lists all mapped network drives for active user sessions.
- Get-ClientFQDN (fqdn): Gets a client's FQDN from its NetBIOS name and copies it to the clipboard.
- Test-AdminAccess (IsAdmin): Checks for local admin privileges on target computers.
[ Advanced ]
- Invoke-GarbageCollection (igc): Manually triggers .NET Garbage Collection for memory profiling.
--- Sample Workflow ---
# 1. Get a complete, all-in-one status report for a client:
PS> Get-ComputerReport PCNAME
# 2. Inventory software on that machine:
PS> Get-InstalledSoftware PCNAME
# You can then pipe the results to filter and uninstall in your console.
Installation Options
Owners
Copyright
(c) 2025 Matthias Piplak. All rights reserved.
Package Details
Author(s)
- Matthias Piplak
Functions
Set-ADUserMustChangePassword Test-ADUserMailboxMigrationStatus Get-ComputerLastOnline Get-ADUserInfo Get-ClientActivity Get-Win10ADClient Get-FastPing Get-ClientUptime Get-M365UpdateSource Get-OSVersion Get-PendingReboot Invoke-GarbageCollection Test-AdminAccess Get-MappedDrives Get-ClientFQDN Get-InstalledSoftware Get-ComputerReport
Dependencies
This module has no dependencies.
FileList
- MapiADTools.nuspec
- MapiADTools.psd1
- MapiADTools.psm1
Version History
Version | Downloads | Last updated |
---|---|---|
1.2.0 (current version) | 4 | 10/10/2025 |
1.1.0 | 7 | 10/1/2025 |
1.0.2 | 8 | 9/26/2025 |
1.0.1 | 4 | 9/26/2025 |
1.0 | 6 | 9/26/2025 |