I've tried researching this, but none of the documentation I've found states how this is done, or if it is possible.
I can refer to a domain user like so:
Even when the domain is actually
ad.domain.com because the NetBIOS name of the domain is just
domain and that ultimately resolves to a Domain Controller for said domain which the user exists on as an Active Directory Object.
However, I can't find how to do the same for a computer. I realize users do not have NetBIOS names, so when I ask "How do I do this with a computer?" I'm really asking "How do I use two NetBIOS names in conjunction to refer to a computer?" which may not be possible.
Rather than referring to a computer as
computer.ad.domain.com, I'd rather just do
domain\computer, but none of my attempts to refer to a computer in this way resolve to that computer. The simplest form being in PowerShell:
When doing this, the Domain Controller responds, which makes sense:
The computers in a Domain exist as Active Directory Objects, and when running these two scripts (?) in PowerShell, the returned attributes are mostly the same:
Get-ADComputer -Filter *
Get-ADUser -Filter *
So, I am uncertain why what I am attempting isn't working as expected.
Is there a more correct way to essentially use the shorthand for the domain when on a local network with its Domain Controllers when referring to computers rather than users? Or is this simply not possible?