use this command to modify TLS settings if you get an error running the below commands
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
search for all available package providers
Find-PackageProvider
search for a specific package provider
Find-PackageProvider -name nuget
install a package provider
Install-PackageProvider -Name nuget
after you have a package provider setup you can search for packages
search for a specific package. it supports wildcard in name
Find-Package -Name *AzureAD*
install package
Install-Package -Name AzureAD
No comments:
Post a Comment