Closed this issue 2 years ago · 1 comments
I'd like to be able to Get-HuduCompanies (among other functions) by the Nickname or Company ID Number fields. We use these fields to reference clients in other systems such as RMM/PSA/network/etc.
Per Luke, can use the following: get-huducompanies | where-object {$_.whatever -eq 'thing'}
get-huducompanies | where-object {$_.whatever -eq 'thing'}
Such as the following example: $company = Get-HuduCompanies | where-object {$_.nickname -eq $mrkOrg.name}
$company = Get-HuduCompanies | where-object {$_.nickname -eq $mrkOrg.name}