PS C:> Get-Command command_name
Use cmd for programming based purposes and powershell for system or administrative based purposes.
(gcm cmd).Path
command_1 | command_2