Tuesday, September 18, 2012

Get Network Information of local and remote Computers using PowerShell.

Hi,

Last Sunday one of my friend come to visit me at my home, he is a SQL Administrator and we were talking about Powershell, and he told me that he is facing a problem, he said that in their environment they have approx. 500 Servers and they want to know the network configuration of all of them and specially they needed the SUBNET mask information, because their SUBNETMASK are based on geographic locations.

For him i wrote a simple script which can query multiple server using WMI.
You can download the script from this link :

Download Link  :http://gallery.technet.microsoft.com/scriptcenter/Get-Network-Information-of-6d07766f 

18-09-2012 12-52-23
You need to add computer names separated by commas in the front of the script.

Make sure that you run this script as ADMINISTRATOR if you want to run this script for remote computers.

Download Link  :http://gallery.technet.microsoft.com/scriptcenter/Get-Network-Information-of-6d07766f

Thanks
Aman Dhally
join aman on facebook Join aman on Linkedin follow aman on Twitter

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.