Monday, February 11, 2013 2:55 PMI have a lot of information around me to learn PowerShell but my assignmenets come faster than I have time to learn through books and tutorials. So here is my assignment. I have a list of switches and I need to learn the machines that are connecting to them paticularly the system name and os. Any help is greatly appreciated.
Monday, February 11, 2013 3:17 PMModerator
So here is my assignment. I have a list of switches and I need to learn the machines that are connecting to them paticularly the system name and os.
What kind of assignment? Are you asking others to do homework for you? Why do you need to know what kinds of computers are connecting to switches?
Monday, February 11, 2013 5:33 PM
We do homework for charity. All payments donated to good causes. Just send us a PayPAl payment of $25 per line of script and we will do your hoemwork for you. Of course if you let us do your homework you won't be able to earn the $$ for the homework assistance so I gues you are kind of stuck.
(see - skipping your schoolwork will not get you any sympathy and our lack of help may well get you a better job.)
Tuesday, February 12, 2013 12:31 PMSorry I shoul have been clearer-not school assignments, work assignments. I have a large list of switches and have a list of "mchines" that connect to each. I need to find any information besides the ip address that lets us know what the equipment is for example host name, windows, lennux, etc.
Tuesday, February 12, 2013 1:30 PMModerator
I think that jrv's point here, while somewhat sarcastically made, is valid, this forum is not really a free script-writing service for businesses. Of course, for my normal consulting rate, I'll code anything anywhere. We, the forum respondents and moderators, are here to help you, but not to do your job for you. Sorry if this sounds a bit harsh, but that's the way it is!
To try to answer your question - what you seem to want is to talk to your switch and find out IP address each port is assigned.Is that right?
It might help to know what you have tried, what is not working. You should also provide background on what switches you are looking at. Some switches have no real way to provide this information, while others have no API (but you can do screen scraping against the Web UI implemented by the switch.
If you have Cisco switches, this article might help: http://www.orcsweb.com/blog/james/fun-with-powershell-plink-cisco-ios-and-powershell/
Thomas Lee <DoctorDNS@Gmail.Com>
- Marked As Answer by Bill_StewartMicrosoft Community Contributor, Moderator Tuesday, March 19, 2013 7:12 PM
Tuesday, February 12, 2013 4:09 PM
Again - OP denies any technical knowledge or skills and claims no time to learn. HE is asking for us to do his work.
We can answer questions but we all prefer to get paid for doing your work.
You are asking about hardware that is not covered by Microsoft scripting or OS. You need to contact hardware vendor for assistance in solving your problem. You can also hire a consultant who will help you with the technical aspects of your issue.
There is no magic bullet with scripting.
As a very long option you could learn how to use scripting technologies to probe your network. If this is part of your job descriptions you should either purchase a tool or learn scripting.