Run PowerShell command (with pipeline) in CMD Run PowerShell command (with pipeline) in CMD powershell powershell

Run PowerShell command (with pipeline) in CMD


powershell -Command " & {Get-Date | sc c:\tmp\date.log}"

CMD and PowerShell