OS - Window - PowerShell

Issues

中文顯示問題

  1. 在腳本第一行再加上這行
    [Console]::OutputEncoding = [System.Text.Encoding]::UTF8
    
  2. .ps1 檔案存成 UTF-8 with BOM