DBThomson76
asked on
Powershell Script to output IP and MAC from Servers text file
I need to come up with a script that can output just the IP Address and MAC address of each server to a CSV file.
I have a file that lists all my server hostnames. ex. C:\Scripts\AllServers.txt
Can someone help me with a powershell script that would do this.
TIA!
I have a file that lists all my server hostnames. ex. C:\Scripts\AllServers.txt
Can someone help me with a powershell script that would do this.
TIA!
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I've requested that this question be closed as follows:
Accepted answer: 0 points for DBThomson76's comment #a40525420
for the following reason:
After getting the Get-IPDetails.pl1 powershell script and combining it with the rest of the command line it work as expected.
Accepted answer: 0 points for DBThomson76's comment #a40525420
for the following reason:
After getting the Get-IPDetails.pl1 powershell script and combining it with the rest of the command line it work as expected.
Why did you not mark my answer as correct then if your using the link that i sent to you?
Used link provided to find answer but no credit given
ASKER