Thanks for the information, so to add it to the attribute am I right in assuming the script would be this?
$deliveryOptions = $mailboxParams.MailFlowSettings.DeliveryOptions
$forwardTo = $deliveryOptions.ForwardingAddress.DisplayName
if ($forwardTo -ne $null)
{
adm-customattributetext1 = $forwardTo
}