I have tried to execute below command attached in screenshot. Please help 

I have tried to execute below command attached in screenshot. Please help 

Hi @sns1
Thanks for writing and we are happy to help you regarding the PowerShell script.
Please find more details about the register command in following URL.
Kindly try following command to register the PSGallery repository.
Register-PSRepository -Default
I'm able to register without any error
PS C:\Users\ravi2_000> Get-PSRepository
Name InstallationPolicy SourceLocation
PSGallery Untrusted *
Here is a helpful page with information about Windows PowerShell
https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/powershell
--If the reply is helpful, please Upvote and Accept as answer.--
19 people are following this question.