/build/static/layout/Breadcrumb_cap_w.png

How to improve Report to get MAC ADDRESS from Client Machine when it does not connect?

Dear Everyone,

How to improve Report to get MAC ADDRESS from Client Machine when it does not connect?

For example my laptop have 2 connection [1.LAN Card and 2.Wireless Card] and I have K1000 agent then I try to create report about MAC ADDRESS Information if my laptop connect with LAN Card and Wireless Card I can get MAC ADDRESS information but if I connect with LAN Card only I will can't get information about Wireless Card MAC ADDRESS from my laptop so please advise me how to get MAC ADDRESS of wireless card for this case? 

 

Thanks, 


0 Comments   [ + ] Show comments

Answers (1)

Posted by: dugullett 11 years ago
Red Belt
2

Your best bet would probably be to run a script to pull that info and export it to a custom inventory. Then run your report on that custom inventory.

Powershell:

$strComputer = gc env:computername

$colItems = Get-WmiObject -Class "Win32_NetworkAdapterConfiguration" -ComputerName $strComputer -Filter "IpEnabled = TRUE"

function Mac {

ForEach ($objItem in $colItems) {

$objItem.Description

$objitem.macaddress}}

Mac|out-file "C:\temp\test.txt"

Custom Inventory:

ShellCommandTextReturn(cmd.exe /c type C:\temp\test.txt)

 

Comments:
  • http://www.itninja.com/question/report-nic-mac-addresses-regarless-of-interface-state - dugullett 11 years ago
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ