Version: 0.3.5 (PowerShell 5.1)
Author: Andreas Hepp
Last Update: 02/03/2025
This script (easyBITLOCKERkeys.ps1
) retrieves all BitLocker keys (msFVE-RecoveryInformation
) from Active Directory and displays them in a color-coded GUI:
- No key found: LightGray
- Key older than 3 months: LightGreen
- Key older than 6 months: Orange
- Key older than 12 months: LightCoral
There are buttons to:
- Export the displayed entries to a CSV file
- Delete the selected entry (after confirmation)
- PowerShell 5.1
The script checks if PowerShell 5.1 is running. If not, it attempts to restart itself under PowerShell 5.1. - Active Directory Module
Required forGet-ADObject
andRemove-ADObject
. Make sure RSAT tools are installed and the Active Directory module is available.
- Place
easyBITLOCKERkeys.ps1
and its INI file (easyBITkeys.ini
) in the same directory. - Run
easyBITLOCKERkeys.ps1
from a PowerShell 5.1 session with sufficient privileges to query and modify AD objects. - The GUI will launch and display all found
msFVE-RecoveryInformation
objects, color-coded by their age.
This project is released under the MIT License. You are free to use, modify, and redistribute this code.
Contributions, suggestions, and feedback are always welcome!
Please open an issue or submit a pull request if you have any ideas or improvements.
Version: 0.3.5 (PowerShell 5.1)
Autor: Andreas Hepp
Letztes Update: 02.03.2025
Dieses Skript (easyBITLOCKERkeys.ps1
) liest alle BitLocker-Schlüssel (msFVE-RecoveryInformation
) aus dem Active Directory aus und zeigt sie in einer farbcodierten GUI an:
- Kein Schlüssel vorhanden: LightGray
- Schlüssel älter als 3 Monate: LightGreen
- Schlüssel älter als 6 Monate: Orange
- Schlüssel älter als 12 Monate: LightCoral
Folgende Schaltflächen stehen zur Verfügung:
- Export der Einträge als CSV-Datei
- Löschen des ausgewählten Eintrags (nach Bestätigung)
- PowerShell 5.1
Das Skript überprüft, ob PowerShell 5.1 ausgeführt wird. Ist dies nicht der Fall, versucht es sich selbst in PowerShell 5.1 neu zu starten. - Active Directory Modul
Wird fürGet-ADObject
undRemove-ADObject
benötigt. Stelle sicher, dass die RSAT-Tools installiert sind und das Active-Directory-Modul verfügbar ist.
- Lege
easyBITLOCKERkeys.ps1
und die INI-Datei (easyBITkeys.ini
) im selben Verzeichnis ab. - Führe
easyBITLOCKERkeys.ps1
in einer PowerShell-5.1-Session mit ausreichenden Rechten zum Abfragen und Bearbeiten von AD-Objekten aus. - Die GUI startet und zeigt alle gefundenen
msFVE-RecoveryInformation
-Objekte an, farblich nach Alter der Schlüssel gekennzeichnet.
Dieses Projekt wird unter der MIT Lizenz veröffentlicht. Du bist frei, den Code zu verwenden, anzupassen und weiterzuverbreiten.
Beiträge, Vorschläge und Feedback sind immer willkommen!
Erstelle gerne ein Issue oder einen Pull Request, wenn du Ideen oder Verbesserungen hast.