Find-Module Warning Uri Invalid

I’m new to PowerShell taking an online course to learn the ropes. I got to the section on Modules and everything was fine until I issued the Find-Module command.

Find-Module returns:

Warning: Unable to resolve package source ''.

I’m running PSVersion

Major    Minor   Build    Revision
5               1          14409    1018

I found this aritcle relating to this warning:

But this fix this does I can’t do because I get another error:

Register-PSRepository: The specified Uri '' for parameter 'SourceLocation' is an invalid Web Uri. Please ensure it meets the Web Uri requirements.

I’m stuck at this point I don’t know what to do.

Not sure what info is pertinent but I’m running these version of PowerShellGet and PackageManagement:

PowerShellGet = 2.2.3

PackageManagement = 1.4.6

Also here is the output of Get-PSRepository:

Name InstallationPolicy SourceLocation
---- ------------------ --------------
PSGallery Untrusted

Any help would be greatly appreciated. I don’t want to continue on my course until I’ve got a grasp on modules!

It says unable to resolve. Are you connected to internet ?