I use PowerShell to determine the mac-addresses for Ethernet as well as the WiFi... the mac-address will be used for verification purposes..
Per command I would love to retrieve only the value not the key and the value… that I can store and verify the retrieved string with the known string.
Example:
Get-NetAdapter -Name "Wi-fi" | Format-List -Property MacAddress
will return the MacAddress : XX-XX-XX-XX-XX-XX
What I want is only XX-XX-XX-XX-XX-XX
Is there any filer I can apply without code ..workarounds….