Hi Chris,
Sure, you can check this thread with similar query on the altsecurityID - is-there-a-way-to-join-a-windows-10-computer-to-azure-ad-using-powershell
Hope this helps.
==
Please don't forget to upvote and Accept as answer if the reply is helpful
If this answer helped you please mark it as "Verified" so other users can reference it.