# How to Export Active Directory (AD) using ZIRO exporter

**URL:** <https://learn.goziro.com/t/how-to-export-active-directory-ad-using-ziro-exporter/40>\
**Category:** ☎️ PBX Export Guides\
**Created:** [June 4, 2024, 9:28pm UTC](https://learn.goziro.com/t/how-to-export-active-directory-ad-using-ziro-exporter/40 "2024-06-04T21:28:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Carl](https://learn.goziro.com/user_avatar/learn.goziro.com/carl/32/3_2.png) [@Carl](https://learn.goziro.com/u/Carl)\
**Post date:** [June 4, 2024, 9:28pm UTC](https://learn.goziro.com/t/how-to-export-active-directory-ad-using-ziro-exporter/40/1 "2024-06-04T21:28:33Z")

</div>

> **OS requirements**  
> This script can run from either:
> 
> - Active Directory Server
> - Any Windows OS with [Remote Server Administration Tools (RSAT)](https://learn.microsoft.com/en-us/troubleshoot/windows-server/system-management-components/remote-server-administration-tools) installed
> 
> * * *
> 
> ⚠ MacOS and Linux are not supported

1. Login to your AD Server or any Windows machine with RSAT installed
2. Download [ziro-export-ad.ps1](https://raw.githubusercontent.com/Stack8/pbx-exporters/main/ziro-export-ad.ps1)
3. Open Powershell
4. Run the script (ex. `.\export-ad.ps1`)
5. Follow the steps provided in the prompt
6. All prompts are **optional**
7. Upon completion, the script will open a `ziro-ad-export.csv` which can be uploaded to the PBX assessment form.

![image](https://community.goziro.com/uploads/default/original/1X/e73f663f5042c7a6a453b0717a2c13acb7a7f194.jpeg)
