Windows 10: win10不能install-module AzureADpreview

Discus and support win10不能install-module AzureADpreview in Windows 10 Installation and Upgrade to solve the problem; PS C:\Windows\system32> host Name : ConsoleHost Version : 5.0.10240.17146 InstanceId :... Discussion in 'Windows 10 Installation and Upgrade' started by Stone Shi, Jun 25, 2019.

  1. Stone Shi Win User

    win10不能install-module AzureADpreview


    PS C:\Windows\system32> host


    Name : ConsoleHost
    Version : 5.0.10240.17146
    InstanceId : 028c38c5-83f2-4177-9a19-54aaba6baf2d
    UI : System.Management.Automation.Internal.Host.InternalHostUserInterface
    CurrentCulture : en-GB
    CurrentUICulture : zh-CN
    PrivateData : Microsoft.PowerShell.ConsoleHost+ConsoleColorProxy
    DebuggerEnabled : True
    IsRunspacePushed : False
    Runspace : System.Management.Automation.Runspaces.LocalRunspace



    PS C:\Windows\system32> install-module AzureADpreview

    若要继续操作,需要执行 NuGet-anycpu.exe。
    PowerShellGet 需要使用 NuGet-anycpu.exe 来与基于 NuGet 的库交互。必须在“C:\Program
    Files\PackageManagement\ProviderAssemblies”或“C:\Users\stoneshi\AppData\Local\PackageManagement\ProviderAssemblies”
    中提供 NuGet-anycpu.exe。有关 NuGet 提供程序的详细信息,请参阅 http://OneGet.org/NuGet.html。是否希望 PowerShellGet
    立即下载 NuGet-anycpu.exe?
    [Y] 是(Y) [N] 否(N) 暂停(S) [?] 帮助 (默认值为“Y”): y
    PackageManagement\Get-PackageProvider : Unable to download from URI
    'https://az818661.vo.msecnd.net/providers/nuget-anycpu-2.8.5.127.exe' to
    'C:\Users\stoneshi\AppData\Local\Temp\Microsoft.PackageManagement\5\tmpFile.25080018.tmp'.
    所在位置 C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\PSGet.psm1:2403 字符: 30
    + ... etProvider = PackageManagement\Get-PackageProvider -Name NuGet -Force
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : InvalidResult: (https://az81866...u-2.8.5.127.exe:String)
    [Get-PackageProvider],Exceptio n
    + FullyQualifiedErrorId : UnableToDownload,Microsoft.PowerShell.PackageManagement.Cmdlets.GetPackageProvider

    Install-NuGetClientBinaries : 需要使用 NuGet-anycpu.exe 来与基于 NuGet 的库交互。请确保“C:\Program Files\PackageManage
    ment\ProviderAssemblies”或“C:\Users\stoneshi\AppData\Local\PackageManagement\ProviderAssemblies”下提供了
    NuGet-anycpu.exe。
    所在位置 C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\PSGet.psm1:946 字符: 9
    + Install-NuGetClientBinaries
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : InvalidOperation: win10不能install-module AzureADpreview :)) [Install-NuGetClientBinaries],InvalidOperationException
    + FullyQualifiedErrorId : CouldNotInstallNuGetBinaries,Install-NuGetClientBinaries


    The provider 'nuget v2.8.5.127' is not installed.
    nuget may be manually downloaded from https://az818661.vo.msecnd.net/providers/nuget-anycpu-2.8.5.127.exe and
    installed.
    Would you like ModuleManagement to automatically download and install 'nuget' now?
    [Y] 是(Y) [N] 否(N) 暂停(S) [?] 帮助 (默认值为“Y”): y
    警告: Unable to download from URI 'https://az818661.vo.msecnd.net/providers/nuget-anycpu-2.8.5.127.exe' to
    'C:\Users\stoneshi\AppData\Local\Temp\Microsoft.PackageManagement\5\tmpFile.2508002b.tmp'.
    警告: Failed to bootstrap provider
    'https://raw.githubusercontent.com/OneGet/ProviderRegistry/master/nuget-2.8.5.127.package.swidtag'.
    警告: Failed to bootstrap provider 'nuget'.
    警告: Unable to find module provider 'NuGet'.
    警告: 指定的 PackageManagement 提供程序“NuGet”不可用。
    PackageManagement\Install-Package : No match was found for the specified search criteria and module name
    'AzureADpreview'.
    所在位置 C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\PSGet.psm1:993 字符: 21
    + ... $null = PackageManagement\Install-Package @PSBoundParameters
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : ObjectNotFound: (Microsoft.Power....InstallPackage:InstallPackage) [Install-Package], Ex
    ception
    + FullyQualifiedErrorId : NoMatchFoundForCriteria,Microsoft.PowerShell.PackageManagement.Cmdlets.InstallPackage

    :)
     
    Stone Shi, Jun 25, 2019
    #1
  2. KCR
    KCR Win User

    Windows Modules Installer listed in System Restore points


    It seems, you can disable it in CCleaner, also. . . worked for me, anaway. ✔



    win10不能install-module AzureADpreview [​IMG]
     
  3. windows xp installation and dual core am

    could someone please list the steps they follow to install windows with a dual core processor and windows xp service pack to. I'm reletively new to amd dual core and i feel i'm missing a step. All help will be appreciated. thanx
     
    exodusprime1337, Jun 25, 2019
    #3
  4. win10不能install-module AzureADpreview

    Windows 10 infinite restart black screen


    The tutorials provided are just a list of troubleshooting steps. Use only the steps which apply to you.

    Since none of the troubleshooting steps here worked, I'd suggest you do a Clean install.

    John
     
    AmericanPharaoh, Jun 25, 2019
    #4
Thema:

win10不能install-module AzureADpreview

Loading...
  1. win10不能install-module AzureADpreview - Similar Threads - win10不能install module AzureADpreview

  2. Install-Module command was found in the module PowerShellGet but the module could not be loaded

    in Windows 10 News
    Install-Module command was found in the module PowerShellGet but the module could not be loaded: [ATTACH]If when you try to install or update a PowerShell module from PowerShell Gallery on your Windows 11 or Windows 10 computer using the Install-Module or Update-Module command and you get the error message Install-Module or Update-Module command was found in the module...
  3. Windows Module Installer

    in Windows 10 Backup and Restore
    Windows Module Installer: Here's an easy question to answer. Please advise as how to stop Windows Module Installer from continually creating Restore Points. Thanks. 162503
  4. Windows Module Installer

    in Windows 10 Support
    Windows Module Installer: Here's an easy question to answer. Please advise as how to stop Windows Module Installer from continually creating Restore Points. Thanks. 162503
  5. 不能启用或关闭windows功能,错误提示为:找不到引用的汇编 0x80073701

    in Windows 10 Installation and Upgrade
    不能启用或关闭windows功能,错误提示为:找不到引用的汇编 0x80073701: 不能启用或关闭windows功能,错误提示为:找不到引用的汇编 0x80073701[ATTACH] https://answers.microsoft.com/en-us/windows/forum/all/%E4%B8%8D%E8%83%BD%E5%90%AF%E7%94%A8%E6%88%96/f71daef3-b427-4bcb-937a-c19f223a2066
  6. Win10 更新后1903 ,不能關閉睡眠狀態,電腦會自動進入睡眠

    in Windows 10 Software and Apps
    Win10 更新后1903 ,不能關閉睡眠狀態,電腦會自動進入睡眠: Win10 更新后1903 ,不能關閉睡眠狀態,電腦會自動進入睡眠。 https://answers.microsoft.com/en-us/windows/forum/all/win10-%E6%9B%B4%E6%96%B0%E5%90%8E1903/c66a2e81-bea9-4405-adb5-436ae090ffb0
  7. win10 1903版本的onedrive不能登录

    in Windows 10 Network and Sharing
    win10 1903版本的onedrive不能登录: 更新1903版本后onedrive一直显示登录中,无法登录成功。 https://answers.microsoft.com/en-us/windows/forum/all/win10/6324d2b2-3c18-4682-bdff-9f11226336b1"
  8. 开启vEthernet后wifi自动断开,不能联网,怎么解决?

    in Windows 10 Network and Sharing
    开启vEthernet后wifi自动断开,不能联网,怎么解决?: Hyper-V的vEthernet网卡一开,wifi就自动断开了,也不能再次连接,只有当禁用掉vEthernet网卡后,wifi才又能连接到网络,这个是什么情况?怎么解决? [ATTACH] [ATTACH] https://answers.microsoft.com/en-us/windows/forum/all/%E5%BC%80%E5%90%AFvethernet%E5%90%8Ewifi%E8%87%AA/7b4b2ace-d1ed-4dfe-9dd7-73372133a5af
  9. win10时间不同步

    in Windows 10 Network and Sharing
    win10时间不同步: 现在是下午6点钟,而win10显示5点钟! [ATTACH] 自动同步,校对时间都已经选好了!但是一直在转。 [ATTACH] https://answers.microsoft.com/en-us/windows/forum/all/win10%E6%97%B6%E9%97%B4%E4%B8%8D%E5%90%8C%E6%AD%A5/b0655f30-a8fc-4da5-bfbc-34c105d11a0e
  10. windows modules installer

    in Windows 10 Support
    windows modules installer: Hi, I have a lot of restore points piling up in my list of restore points with the title "windows modules installer." Almost one every day. I cant find anything matching in event viewer or task manager. Anyone know what this is and how to get rid of it? Appreciate your help....