SyntaxFix
Write A Post
Hire A Developer
Questions
Try this:
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 Install-PackageProvider NuGet -Force Set-PSRepository PSGallery -InstallationPolicy Trusted