Update-Help errors to file or variable

Welcome Forums General PowerShell Q&A Update-Help errors to file or variable

This topic contains 2 replies, has 2 voices, and was last updated by

3 years, 8 months ago.

  • Author
  • #26891

    Points: 0
    Rank: Member

    I plan to perform rapid update of PowerShell help from fileshare.
    So I installed on one server RSAT-Role-Tools & RSAT-Feature-Tools -IncludeAllSubFeature and perform Save-Help –DestinationPath \\fs1\PSHelp
    When I run Update-Help on domain controllers I get this error:
    Failed to update Help for the module(s) 'ADDSDeployment' with UI culture(s) {en-US}
    It's not a big deal to Update-Help -Online on server with such errors, but I want to fix such errors in text file (and send it to email).
    I tried Update-Help with "-ErrorVariable" and " | Out-File" but nothing in variable or file.
    Any ideas?

  • #26897

    Points: 0
    Rank: Member

    Sounds like the server you used for the Save-Help doesn't have the 'ADDSDeployment' module?

  • #26898

    Points: 0
    Rank: Member

    Yes, that's wright.
    But it's ok – I just need to fix errors now to solve 'em later.

The topic ‘Update-Help errors to file or variable’ is closed to new replies.

denizli escort samsun escort muğla escort ataşehir escort kuşadası escort