2024-11-16 PowerShell 设置Encoding解决Windows下PowerShell文件输出乱码问题 不设置Encoding输出文件乱码12Get-EventLog system -Newest 10 | Export-CSV log.csv# 取得最近的10条系统日志并输出csv 设置Encoding不乱码1Get-EventLog system -Newest 10 | Export-CSV log.csv -Encoding UTF8 前一篇 Ubuntu22.04上安装最新的OpenJDK 后一篇 AWS Ubuntu EC2实例 EBS硬盘缩容