The variable $input2 isn't the NAME of a parameter, so don't place a hyphen in front of it.
Like this:
$input1 = Read-Host "Please your LBB email address"
Connect-ExchangeOnline -UserPrincipalName $input1
$input2 = Read-Host "Please enter users username"
Get-Mailbox | Get-MailboxPermission $input2 -ResultSize unlimited # don't place a hyphen in front of $input2. It's not a parameter name!