Public/Curanet/Get-Customer.ps1

function Get-Customer() {
    Param(
        [Parameter(Mandatory)]
        [string]$CustomerName
    )

    $Customers = Get-Customers

    $Customers | Where-Object { $_.companyName -eq $CustomerName }

    return $Customer
}