File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change
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.
You can’t perform that action at this time.
0 commit comments