powershell使用日记

zhone-lb / 2025-02-21 / 原文

measure-command {[Command]}用于powershell下测试指令的时间

measure-command {cmd /c [Command]}用于powershell下测试cmd指令的时间

例如measure-command {./test.exe}measure-command {cmd /c "test.exe < test_in.txt > test_out.txt"}