Update-Help errors to file or variable

This topic contains 2 replies, has 2 voices, and was last updated by  Dmitriy Kagarlickij 2 years, 2 months ago.

  • Author
    Posts
  • #26891

    Dmitriy Kagarlickij
    Participant

    Hellо!
    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?
    Thank's!

  • #26897

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

  • #26898

    Dmitriy Kagarlickij
    Participant

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

You must be logged in to reply to this topic.