How to fix “System.InvalidOperationException: PowerShell Gallery is currently unavailable.”

This post was most recently updated on March 20th, 2021. This article explains how to fix an issue when updating a module in PowerShell. The error is something along the lines of: “System.InvalidOperationException: PowerShell Gallery is currently unavailable. Please try again later.” The whole error looks something like the one below, although you can probably get it for many different commandlets. The main point is the latter part of the error: PowerShell Gallery is currently unavailable. This, quite simply, stops you from installing or updating … Continue reading How to fix “System.InvalidOperationException: PowerShell Gallery is currently unavailable.”