I am trying to create a new user and then store it in a variable. Anyone have an idea how I would accomplish this? This is what I have so far but it's just returning null
$user = New-ADUser -Name "EMBTest Account" -GivenName EMBTest -Surname Account -SamAccountName EAccount -AccountPassword $password | Get-ADUser