invoke-command and get-adcomputer
As it stands because Get-ADComputer uses the name property and invoke-command uses the Computername property results from Get-ADComputer cannot be piped in directly to the invoke-command cmdlet. Adding aliases for one or both properties to make them work together seamlessly would be great.
Michael Anselmi commented
I'm also going to put this as a bug. Even when you create an advanced function with the $computername variable and alias it with 'Name' it will still not bind correctly from the pipeline.