建立預設的 PowerShell 模組重新安置

如果由於某種原因,預設的 PowerShell 模組儲存庫 PSGallery 將被刪除。你需要建立它。這是命令。

Register-PSRepository -Default