Skip to content

Commit 9b3f985

Browse files
authored
Create README.md
1 parent d409b32 commit 9b3f985

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

README.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Export Server Info from Active Directory
2+
3+
This PowerShell script retrieves server information from Active Directory and exports it to a CSV file.
4+
5+
## Features
6+
7+
- Retrieves the following server details from Active Directory:
8+
- Server Name (Hostname)
9+
- IP Address
10+
- FQDN
11+
- Operating System
12+
- Description
13+
- Exports the gathered data to a CSV file.
14+
15+
## Usage
16+
17+
1. Make sure you have the Active Directory module installed.
18+
2. Run the script with the `-OutputPath` parameter specifying the path for the CSV output.
19+
20+
```powershell
21+
.\Export-ServerInfo.ps1 -OutputPath "C:\path\to\output.csv"
22+
```
23+
24+
## Requirements
25+
26+
- Active Directory module for PowerShell.
27+
- Sufficient permissions to query Active Directory.
28+
29+
## Contributing
30+
31+
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

0 commit comments

Comments
 (0)