小编Brt*_*rnd的帖子

Powershell:Out-File

我正在尝试将所有控制台输出记录到文件中.move-item D:\ scripts\fileA D:\ scripts\fileB -verbose -Force | Out-File D:\ scripts\move.log -Append

如果文件不存在,则正在创建该文件.但是此文件中不存在详细信息和最终的PowerShell错误.我怎样才能获得这些信息?

powershell

3
推荐指数
1
解决办法
953
查看次数

标签 统计

powershell ×1