2026年4月12日 星期日

Powershell 無法建立 SSL/TLS 的安全通道

解決方法是強制啟用 TLS 1.2

檢查當前 PowerShell 使用的安全性協定

[Net.ServicePointManager]::SecurityProtocol

在指令碼上方加入

[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12

沒有留言:

解決無法連線不需認證的遠端資料匣

最近User要連事務機資料匣,發現無法連線,錯誤訊息如下:  Fix You can’t access this shared folder because your organization’s security policies block unauthenticated 解...