Now, how about adding a computer account to AD and setting properties like sAMAccountName and Description?
According to you question please refer to the below article
blogs.technet.com/.../powershell-command-to-create-computer-account-in-active-directory.aspx