Make PowershellGet a trusted repository

After installing PowershellGet you can make us of this powerful repository to find modules and scripts you need for your personal happiness or current tasks you have to do with PowerShell.

Click here to learn how to install PowerShellGet on your computer

After you’ve installed PowershellGet and start installing modules, you always see warnings like this:


As the message is already telling you (yep, sometimes it is really a good idea to read the messages on the screen 😉 ), you can trust the repo to avoid that message in future. For those who still don’t like reading PowerShell messages and prefer reading this article, here is the command:

Set-PSRepository -Name PSGallery -InstallationPolicy Trusted

Published by Andreas

Founder of M365 Evangelists Cloud-Architect, Strategy Consultant, Consultant for Microsoft technologies, Graph API enthusiast, PowerShell enthusiast
%d bloggers like this: