PowerShell - Untrusted Repository

Ever seen this message when running Install-Module, and really just ignored it without reading it?

Untrusted repository

You are installing the modules from an untrusted repository. If you
trust this repository, change its InstallationPolicy value by running
the Set-PSRepository cmdlet. Are you sure you want to install the
modules from 'PSGallery'?

[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "N"):

Well, just run the following to make it go away...

Set-PSRepository -Name PSGallery -SourceLocation https://www.powershellgallery.com/api/v2/ -InstallationPolicy Trusted

Obligatory warning: This will configure your PowerShell sessions to stop warnings about installing modules that you might not know their behavior and maybe shouldn't trust, when installing from the PowerShell Gallery, so make sure you know what you are installing! I take no responsibility if you install something that kills your machine, gives you a virus, becomes the worlds most prolific spam bot, or becomes a sentient being, takes over the world and enslaves the human race...