Add repository
Add PSWindowsUpdate module from https://www.powershellgallery.com/packages/PSWindowsUpdate/2.1.1.2 repository.
Register-PSRepository -Name "PSWindowsUpdate" ` -SourceLocation "https://www.powershellgallery.com/packages/PSWindowsUpdate/2.1.1.2"
List registered repositories
Get-PSRepository