Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
virtualox authored Mar 24, 2023
1 parent 656ed42 commit 5eb9d3d
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 5eb9d3d

Please sign in to comment.