Get-MacAddress.ps1
<#PSScriptInfo .VERSION 1.1 .GUID 7bf5538c-f515-4edb-9d9e-dc921fc3a87f .AUTHOR Benakor .COMPANYNAME .COPYRIGHT Benaiah Youquoi .TAGS .LICENSEURI .PROJECTURI .ICONURI .EXTERNALMODULEDEPENDENCIES .REQUIREDSCRIPTS .EXTERNALSCRIPTDEPENDENCIES .RELEASENOTES Added the networkcard maximum speed to output #> <# .DESCRIPTION Retrieves MAC addresses of remote or local machines and show networkcard maximum speed #> Param ([string[]] $computername = 'localhost') gwmi win32_NetworkAdapter -ComputerName $computername | Select Name, MacAddress, @{l='Max Speed (Mb) '; e={$_.Speed / 1000000 -as [int]}} |