From 5eb9d3dc51ef4946c7eb346aa3a34aece973131f Mon Sep 17 00:00:00 2001 From: VirtualOx <37578273+virtualox@users.noreply.github.com> Date: Fri, 24 Mar 2023 15:45:08 +0100 Subject: [PATCH] Update README.md --- README.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1ff4720..0d8217f 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,17 @@ # Find-EmailAddress Find-EmailAddress is a PowerShell script that retrieves Active Directory objects by searching for a specified email address or alias. The script then outputs the object's username, display name, email address, and the Organizational Unit (OU) location. +## Requirements +The script requires PowerShell 3.0 or later and the Active Directory module to be installed on your system. To check the PowerShell version on your system, run the following command: +```powershell +$PSVersionTable.PSVersion +``` +If you have an earlier version of PowerShell, consider upgrading to a newer version for better compatibility and security. You can download the latest version of PowerShell from the [official GitHub repository](https://github.com/PowerShell/PowerShell). + +To install the Active Directory module, you can follow the instructions in this [Microsoft guide](https://docs.microsoft.com/en-us/powershell/scripting/install/installing-windows-powershell?view=powershell-7.1#installing-the-active-directory-module). + ## Installation -1. Download the Find-EmailAddress.ps1 script. +1. Download the **`Find-EmailAddress.ps1`** script. 2. Save it to a convenient location on your computer or server. ## Usage