Example of using a parameter block

$param = @{
    'passwordneverexpires'= $true
    'accountpassword' = (convertTo-SecureString -AsPlainText "P@ssw0rd" -Force )
    'department' = 'it'
    'name' = 'Rhonda'
    'samaccountname' = 'rhonda'
}

New-ADUser @param