Get-MACtoIP.ps1

function Get-MACtoIP {
    param (
        [Parameter(Position = 0, Mandatory = $true)][String]$MACAddress
    )
    Write-Warning 'Make sure you enter the mac with "-" e.g. 00-80-f0-6e-6f-d0'
    Invoke-Command hdq-dc3,hdq-dc1 {Get-DhcpServerv4Scope | Get-DhcpServerv4Lease | where ClientId -eq $using:MACAddress}
    }


Export-ModuleMember -Function Get-MACtoIP