none
Retrieve only the InterfaceIndex integer from "Get-NetIPConfiguration" RRS feed

  • Question

  • Hi 

    Can you please help me how I can retrieve just the integer, in this case 5?

    //marsk

    PS C:\instdir\script> $InterfaceIndex = Get-NetIPConfiguration | select -Property InterfaceIndex
    PS C:\instdir\script> $InterfaceIndex

    InterfaceIndex
    --------------
                 5


    Martin Skorvald Elevation AB

    Thursday, December 27, 2018 7:13 PM

Answers

All replies