How-to make PSGallery a trusted repository - #ARCHIVED#

This content has been archived. It may no longer be relevant.  

Execute the following steps to make PSGallery a trusted repository:

  1. Open a PowerShell console window using “Run as Administrator”.
  2. Run the following code:
Set-PSRepository -Name 'PSGallery' -InstallationPolicy 'Trusted'