How is this different from
Get-ADComputer "RAL" | select Name, DistinguishedName | fl
In order to use that Cmdlet, I had to activate the ActiveDirectory feature of windows on the querying server.
Personally I wouldn't want to install the ActiveDirectory feature on my SQL Server, which is where I would be querying from, hence I'd be without the "Get-ADComputer".
I tried to import the module alone, but with no luck, maybe there is a way and I just didn't get it.
This is why I wrote that longer script that used commands already available inside my non-AD server.