由于环境受限,我想在 Powershell 中运行 plink (Putty) 以生成 Powershell/plink 会话的时间戳记录。
我在本机 powershell 中看不到时间戳选项。这样做的最佳方法是什么?
我考虑过使用 Tee,但由于 plink 不是 PS 对象,我不确定我可以。
由于环境受限,我想在 Powershell 中运行 plink (Putty) 以生成 Powershell/plink 会话的时间戳记录。
我在本机 powershell 中看不到时间戳选项。这样做的最佳方法是什么?
我考虑过使用 Tee,但由于 plink 不是 PS 对象,我不确定我可以。