{"id":4582,"date":"2020-04-28T23:29:06","date_gmt":"2020-04-28T23:29:06","guid":{"rendered":"https:\/\/pariswells.com\/blog\/?p=4582"},"modified":"2020-04-28T23:29:06","modified_gmt":"2020-04-28T23:29:06","slug":"azuremfanpsextnconfigsetup-ps1-search-criteria-and-provider-name-nuget","status":"publish","type":"post","link":"https:\/\/pariswells.com\/blog\/research\/azuremfanpsextnconfigsetup-ps1-search-criteria-and-provider-name-nuget","title":{"rendered":".\\AzureMfaNpsExtnConfigSetup.ps1 &#8211; search criteria and provider name &#8216;NuGet&#8217;"},"content":{"rendered":"<p>VERBOSE: PowerShell meta provider initialization failed.<br \/>VERBOSE: PowerShell meta provider initialization failed.<br \/>PackageManagement\\Import-PackageProvider : No match was found for the specified search criteria and provider name<br \/>&#8216;NuGet&#8217;. Try &#8216;Get-PackageProvider -ListAvailable&#8217; to see if the provider exists on the system.<br \/>At C:\\Program Files\\WindowsPowerShell\\Modules\\PowerShellGet\\1.0.0.1\\PSModule.psm1:7302 char:25<br \/>+ &#8230;\u00a0 \u00a0 \u00a0$null = PackageManagement\\Import-PackageProvider -Name $script:Nu &#8230;<br \/>+\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br \/>\u00a0 \u00a0 + CategoryInfo\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 : InvalidData: (NuGet:String) [Import-PackageProvider], Exception<br \/>\u00a0 \u00a0 + FullyQualifiedErrorId : NoMatchFoundForCriteria,Microsoft.PowerShell.PackageManagement.Cmdlets.ImportPackageProv<br \/>\u00a0 \u00a0ider<\/p><p>&nbsp;<\/p><p>Run this before<\/p><p>&nbsp;<\/p><p class=\"_1qeIAgB0cPwnLhDF9XSiJM\">To enabled TLS 1.2,\u00a0 you may need to run this before<\/p><p class=\"_1qeIAgB0cPwnLhDF9XSiJM\"><strong class=\"_12FoOEddL7j_RgMQN0SNeU\">[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12<\/strong><\/p>","protected":false},"excerpt":{"rendered":"<p>VERBOSE: PowerShell meta provider initialization failed.VERBOSE: PowerShell meta provider initialization failed.PackageManagement\\Import-PackageProvider : No match was found for the specified search criteria and provider name&#8216;NuGet&#8217;. Try &#8216;Get-PackageProvider -ListAvailable&#8217; [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[1464,3223,3224,3225,2782],"class_list":["post-4582","post","type-post","status-publish","format-standard","hentry","category-research","tag-azure","tag-azuremfanpsextnconfigsetup-ps1","tag-nps","tag-nuget","tag-radius"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/4582","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/comments?post=4582"}],"version-history":[{"count":1,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/4582\/revisions"}],"predecessor-version":[{"id":4583,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/4582\/revisions\/4583"}],"wp:attachment":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/media?parent=4582"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/categories?post=4582"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/tags?post=4582"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}