locked
How to get iSCSI MAC using PowerShell? RRS feed

  • Question

  • Is there any way to get all iSCSI device's MAC address (which can be found in the Device Manager) using PowerShell commands on Windows Server 2016?
    The command "Get-WmiObject Win32_SCSIController" can give some information about an iSCSI device, but MAC address is not included.


    • Edited by fang-jui Monday, November 26, 2018 6:59 AM
    Monday, November 26, 2018 6:58 AM

All replies

  • An iSCSI is an ethernet connection. 

    Get-NetAdapter <iScsi name> | select LinkLayerAddress


    \_(ツ)_/

    Monday, November 26, 2018 7:15 AM
  • There are only Hardware iSCSI devices on the Windows server.
    That command doesn't help, sorry.

    Monday, November 26, 2018 8:00 AM
  • You have to query the I/F.  What is it? Fiber?

    \_(ツ)_/

    Monday, November 26, 2018 8:02 AM
  • It's just an iSCSI device in the list of storage controllers,
    and its traffic doesn't go through any Ethernet function.
    Monday, November 26, 2018 8:38 AM
  • It has to be connected to an adapter of some kind.  It has some kind of wire.  A MAC address is a wire level address.  Perhaps you can ask your techs or contact the vendor to find out how it is connected.


    \_(ツ)_/

    Monday, November 26, 2018 12:42 PM