Powershellが更新で失敗する

けよままたかふ

実行するUpdate-Helpと、Powershellで失敗します。私は代理人を経由していません。ダイレクトアクセスです。また、管理者としてPowershellを実行しています。他に何を確認すればよいかわかりません...アドバイスを歓迎します。

これが私のバージョンです。

$PSVersionTable

Name                           Value                                                                                                                                           
----                           -----                                                                                                                                           
PSVersion                      5.1.14393.187                                                                                                                                   
PSEdition                      Desktop                                                                                                                                         
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}                                                                                                                         
BuildVersion                   10.0.14393.187                                                                                                                                  
CLRVersion                     4.0.30319.42000                                                                                                                                 
WSManStackVersion              3.0                                                                                                                                             
PSRemotingProtocolVersion      2.3                                                                                                                                             
SerializationVersion           1.1.0.1   

エラーは次のとおりです。

PS C:\Windows> Update-Help
Update-Help : Failed to update Help for the module(s) : 
'AppBackgroundTask, AppLocker, AppvClient, Appx, AssignedAccess, BitLocker, BitsTransfer, BranchCache, CimCmdlets, ConfigCI, Defender, DirectAccessClientComponents, Dism, 
DnsClient, EventTracingManagement, International, iSCSI, ISE, Kds, Microsoft.PowerShell.Archive, Microsoft.PowerShell.Core, Microsoft.PowerShell.Diagnostics, 
Microsoft.PowerShell.Host, Microsoft.PowerShell.LocalAccounts, Microsoft.PowerShell.Management, Microsoft.PowerShell.ODataUtils, Microsoft.PowerShell.Security, 
Microsoft.PowerShell.Utility, Microsoft.WSMan.Management, MMAgent, MsDtc, MSMQ, NetAdapter, NetConnection, NetEventPacketCapture, NetLbfo, NetNat, NetQos, NetSecurity, 
NetSwitchTeam, NetTCPIP, NetworkConnectivityStatus, NetworkSwitchManager, NetworkTransition, PackageManagement, PcsvDevice, PKI, PnpDevice, PowerShellGet, PrintManagement, 
PSDesiredStateConfiguration, PSReadline, PSScheduledJob, PSWorkflow, PSWorkflowUtility, ScheduledTasks, SmbShare, SmbWitness, StartLayout, Storage, TLS, TroubleshootingPack, 
TrustedPlatformModule, UEV, VpnClient, Wdac, WindowsDeveloperLicense, WindowsErrorReporting, WindowsSearch, WindowsUpdate'
Access is denied. The command could not update Help topics for the Windows PowerShell core modules, or for any modules in the $pshome\Modules directory. To update these Help 
topics, start Windows PowerShell by using the "Run as Administrator" command, and try running Update-Help again.
At line:1 char:1
+ Update-Help
+ ~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [Update-Help], Exception
    + FullyQualifiedErrorId : UpdatableHelpSystemRequiresElevation,Microsoft.PowerShell.Commands.UpdateHelpCommand

Update-Help : Failed to update Help for the module(s) 'Microsoft.PowerShell.Operation.Validation' with UI culture(s) {en-US} : The value of the HelpInfoUri key in the module 
manifest must resolve to a container or root URL on a website where the help files are stored. The HelpInfoUri 'https://www.msn.com/?ocid=NEFLS000' does not resolve to a 
container.
At line:1 char:1
+ Update-Help
+ ~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [Update-Help], Exception
    + FullyQualifiedErrorId : InvalidHelpInfoUri,Microsoft.PowerShell.Commands.UpdateHelpCommand

Update-Help : Failed to update Help for the module(s) 'SecureBoot' with UI culture(s) {en-US} : Unable to retrieve the HelpInfo XML file for UI culture en-US. Make sure the 
HelpInfoUri property in the module manifest is valid or check your network connection and then try the command again.
At line:1 char:1
+ Update-Help
+ ~~~~~~~~~~~
    + CategoryInfo          : ResourceUnavailable: (:) [Update-Help], Exception
    + FullyQualifiedErrorId : UnableToRetrieveHelpInfoXml,Microsoft.PowerShell.Commands.UpdateHelpCommand

再放送しましたUpdate-Help私はそれがそれのほとんどを更新すると思います。これらのエラーのみが発生します。

Update-Help : Failed to update Help for the module(s) 'Microsoft.PowerShell.Operation.Validation' with UI culture(s) {en-US} : The value of the HelpInfoUri 
key in the module manifest must resolve to a container or root URL on a website where the help files are stored. The HelpInfoUri 
'https://www.msn.com/?ocid=NEFLS000' does not resolve to a container.
At line:1 char:1
+ Update-Help
+ ~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [Update-Help], Exception
    + FullyQualifiedErrorId : InvalidHelpInfoUri,Microsoft.PowerShell.Commands.UpdateHelpCommand

Update-Help : Failed to update Help for the module(s) 'AppvClient' with UI culture(s) {en-US} : Help content cannot be found. Make sure the server is 
available and the help content location is properly defined in the HelpInfo XML.
At line:1 char:1
+ Update-Help
+ ~~~~~~~~~~~
    + CategoryInfo          : ResourceUnavailable: (:) [Update-Help], Exception
    + FullyQualifiedErrorId : HelpContentNotFound,Microsoft.PowerShell.Commands.UpdateHelpCommand

Update-Help : Failed to update Help for the module(s) 'SecureBoot' with UI culture(s) {en-US} : Unable to retrieve the HelpInfo XML file for UI culture en-US. 
Make sure the HelpInfoUri property in the module manifest is valid or check your network connection and then try the command again.
At line:1 char:1
+ Update-Help
+ ~~~~~~~~~~~
    + CategoryInfo          : ResourceUnavailable: (:) [Update-Help], Exception
    + FullyQualifiedErrorId : UnableToRetrieveHelpInfoXml,Microsoft.PowerShell.Commands.UpdateHelpCommand
ラビキラン・レディ・コタパティ

回避策:

Update-Help -Verbose -Force -ErrorAction SilentlyContinue 

-verboseコマンドが実行していることをすべて出力し-force、間にエラーが発生した場合でもスクリプトを強制的に完了し、-ErrorAction SilentlyContinue上記と同様の処理を実行します。

つまり、以前に更新されていなかったモジュールはまだ更新されません

この記事はインターネットから収集されたものであり、転載の際にはソースを示してください。

侵害の場合は、連絡してください[email protected]

編集
0

コメントを追加

0

関連記事

分類Dev

下のシートでrecyclerviewの内容の更新が失敗する

分類Dev

Powershell Invoke-WebRequestがSSL / TLSセキュアチャネルで失敗する

分類Dev

DataJpaTestが単体テストで更新に失敗する

分類Dev

DataJpaTestが単体テストで更新に失敗する

分類Dev

Tkinterキャンバスで更新するとNagivationToolbarが失敗する

分類Dev

MacOSでgcloudコンポーネントの更新がUnicodeDecodeErrorで失敗する

分類Dev

Composerが「npm-signature」エラーで更新に失敗する

分類Dev

brewの更新が「Permissiondenied」エラーで失敗する

分類Dev

Microsoft.Rest.ClientRuntimeの最新の更新でAzureSearchが失敗する

分類Dev

AWSCLIの更新パスが失敗する

分類Dev

PowerShellからのSQL挿入が引用符で失敗する

分類Dev

gcloud app sslcertの更新がPERMISSION_DENIEDで失敗する

分類Dev

PowerShellの更新-ヘルプが失敗する

分類Dev

テスト-WSManがPowerShellで失敗する

分類Dev

Symfonyの更新がYAMLエラーで失敗する

分類Dev

「Copy-Item」コマンドでPowershellスクリプトが失敗する

分類Dev

Rails 6.1 RC1でActionTextのJSON(AJAX)更新が失敗する

分類Dev

PowerShellプログレスバーの呼び出しがRunspaceで失敗する

分類Dev

Dynamodbの更新が検証例外で失敗する

分類Dev

apt-getの更新が404で失敗する

分類Dev

更新後の13.10でDNSが断続的に失敗する

分類Dev

MacPortsの自己更新がMacOS XLionで失敗する

分類Dev

psql.exe(PowerShellから作成)で挿入が失敗する

分類Dev

Composerの更新が独自のパッケージで失敗する

分類Dev

.bashrcが原因でgitpushが失敗する

分類Dev

AngularJS関数がjson文字列値での更新に失敗する

分類Dev

SQLAlchemyの一括更新クエリがAttributeErrorで失敗する

分類Dev

powershellコマンドが.batファイルで失敗する

分類Dev

scikit-learnの更新がAnacondaで失敗する

Related 関連記事

  1. 1

    下のシートでrecyclerviewの内容の更新が失敗する

  2. 2

    Powershell Invoke-WebRequestがSSL / TLSセキュアチャネルで失敗する

  3. 3

    DataJpaTestが単体テストで更新に失敗する

  4. 4

    DataJpaTestが単体テストで更新に失敗する

  5. 5

    Tkinterキャンバスで更新するとNagivationToolbarが失敗する

  6. 6

    MacOSでgcloudコンポーネントの更新がUnicodeDecodeErrorで失敗する

  7. 7

    Composerが「npm-signature」エラーで更新に失敗する

  8. 8

    brewの更新が「Permissiondenied」エラーで失敗する

  9. 9

    Microsoft.Rest.ClientRuntimeの最新の更新でAzureSearchが失敗する

  10. 10

    AWSCLIの更新パスが失敗する

  11. 11

    PowerShellからのSQL挿入が引用符で失敗する

  12. 12

    gcloud app sslcertの更新がPERMISSION_DENIEDで失敗する

  13. 13

    PowerShellの更新-ヘルプが失敗する

  14. 14

    テスト-WSManがPowerShellで失敗する

  15. 15

    Symfonyの更新がYAMLエラーで失敗する

  16. 16

    「Copy-Item」コマンドでPowershellスクリプトが失敗する

  17. 17

    Rails 6.1 RC1でActionTextのJSON(AJAX)更新が失敗する

  18. 18

    PowerShellプログレスバーの呼び出しがRunspaceで失敗する

  19. 19

    Dynamodbの更新が検証例外で失敗する

  20. 20

    apt-getの更新が404で失敗する

  21. 21

    更新後の13.10でDNSが断続的に失敗する

  22. 22

    MacPortsの自己更新がMacOS XLionで失敗する

  23. 23

    psql.exe(PowerShellから作成)で挿入が失敗する

  24. 24

    Composerの更新が独自のパッケージで失敗する

  25. 25

    .bashrcが原因でgitpushが失敗する

  26. 26

    AngularJS関数がjson文字列値での更新に失敗する

  27. 27

    SQLAlchemyの一括更新クエリがAttributeErrorで失敗する

  28. 28

    powershellコマンドが.batファイルで失敗する

  29. 29

    scikit-learnの更新がAnacondaで失敗する

ホットタグ

アーカイブ