MapiADTools

1.4.1

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 ---
- Find-GpoSetting (search-GPO): Searches within Group Policy Object (GPO) reports for
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 ---
- Find-GpoSetting (search-GPO): Searches within Group Policy Object (GPO) reports for a specific string pattern
- Get-ADUserInfo (gadu): Flexible AD user search (name, SAM) with password expiry, last logon, and MECM PC data.
- Get-ClientActivity: Creates a timeline of computer power events (logon, shutdown, sleep).
- Get-ClientFQDN (fqdn): Gets a client's FQDN from its NetBIOS name and copies it to the clipboard.
- Get-ClientUptime (uptime): Gets computer uptime and interactively logged-on users.
- Get-ComputerLastOnline (lol): Finds a computer's most accurate last logon time by querying all DCs.
- Get-ComputerReport (gcr): All-in-one client health dashboard (ping, OS, uptime, reboot, AD last logon).
- Get-FastPing (fping): High-performance, parallel ping with reverse DNS validation for large lists.
- Get-InstalledSoftware (soft): Inventories software on remote computers with remote uninstallation.
- Get-M365UpdateSource: Diagnoses the M365 Apps update source (MECM, GPO, ODT) and task health.
- Get-MappedDrives: Lists all mapped network drives for active user sessions.
- Get-MicrosoftUpdatesReport (gmur): updates report for Windows and Microsoft 365 Apps (Office)
- Get-OSVersion (os): Retrieves detailed OS info (build, friendly name like 23H2).
- Get-PendingReboot (gpr): Comprehensive check for pending reboot reasons (CBS, WU, MECM, etc.).
- Get-Win10ADClient: Queries AD for Win 10/11 clients, showing friendly OS names (e.g., 23H2).
- Invoke-GarbageCollection (igc): Manually triggers .NET Garbage Collection for memory profiling.
- Set-ADUserMustChangePassword: Toggles the "User must change password at next logon" flag.
- Test-ADUserMailboxMigrationStatus: Checks a user's Exchange Hybrid mailbox migration state.
- Test-AdminAccess (IsAdmin): Checks for local admin privileges on target computers.
Show more

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name MapiADTools

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name MapiADTools

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

(c) 2025 Matthias Piplak. All rights reserved.

Package Details

FileList

Version History

Version Downloads Last updated
1.4.1 (current version) 5 11/12/2025
1.4 7 11/3/2025
1.3.1 6 10/23/2025
1.2.0 7 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
Show more