创建默认的 PowerShell 模块重新安置

如果由于某种原因,默认的 PowerShell 模块存储库 PSGallery 将被删除。你需要创建它。这是命令。

Register-PSRepository -Default