locked
PowerShell 5.1 : update-help without direct Internet RRS feed

  • Question

  • Hello,

    How to update the PowerShell Help with a computer that doesn"t have any Internet Access ?
    I know the command "update-help".

    Is it possible to download some files on Microsoft web site and install an Help update manually ?

    Regards,

    Monday, January 8, 2018 2:20 PM

All replies

  • Maybe something like the following article?

    https://blogs.technet.microsoft.com/heyscriptingguy/2012/10/27/powertip-use-saved-help-files-to-update-powershell-help/


    If you find that my post has answered your question, please mark it as the answer. If you find my post to be helpful in anyway, please click vote as helpful. (99,108,97,121,109,97,110,50,64,110,121,99,97,112,46,114,114,46,99,111,109|%{[char]$_})-join''

    Monday, January 8, 2018 2:29 PM
  • Hi,

    I check your proposal :

    I do that :

    --

    PS U:\> save-help -DestinationPath D:\DownLoads\Powershell_Helps_Updates\ -Module * -force
    save-help : Failed to save Help for the module(s) 'AppLocker, BitsTransfer, PSDiagnostics, TroubleshootingPack' : The
    Update-Help command failed because the specified module does not support updatable help. Use Get-Help -Online or look
    online for help for the commands in this module.
    At line:1 char:1
    + save-help -DestinationPath D:\DownLoads\Powershell_Helps_Updates\ -Mo ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : NotSpecified: (HelpInfoUri:Uri) [Save-Help], Exception
        + FullyQualifiedErrorId : HelpInfoUriNotFound,Microsoft.PowerShell.Commands.SaveHelpCommand

    PS U:\>

    --

    The computer used is able to open Internet with no credentials (it seems to be a SSO)...
    But, how to be sure that "save-help" is able to open Internet ?

    Regards,


    • Edited by Cerkyr Tuesday, January 9, 2018 8:44 AM
    Tuesday, January 9, 2018 8:43 AM
  • I also try :

    ---

    PS U:\>
    PS U:\> save-Help -DestinationPath D:\DownLoads\Powershell_Helps_Updates\ -Module ServerManager, Microsoft.PowerShell* -
    verbose


    save-Help : No Windows PowerShell modules were found that match the following pattern: ServerManager. Verify the
    pattern and then try the command again.
    At line:1 char:1
    + save-Help -DestinationPath D:\DownLoads\Powershell_Helps_Updates\ -Mo ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : InvalidArgument: (ServerManager:String) [Save-Help], Exception
        + FullyQualifiedErrorId : ModuleNotFound,Microsoft.PowerShell.Commands.SaveHelpCommand

    VERBOSE: Resolving URI: "http://go.microsoft.com/fwlink/?linkid=390785"
    VERBOSE: Your connection has been redirected to the following URI:
    "http://download.microsoft.com/download/D/A/B/DAB15498-E46E-41D9-9693-C61191BA3234/"
    VERBOSE: Resolving URI: "http://go.microsoft.com/fwlink/?linkid=390785"
    VERBOSE: Your connection has been redirected to the following URI:
    "http://download.microsoft.com/download/D/A/B/DAB15498-E46E-41D9-9693-C61191BA3234/"
    VERBOSE: Resolving URI: "http://go.microsoft.com/fwlink/?linkid=390787"
    VERBOSE: Your connection has been redirected to the following URI:
    "http://download.microsoft.com/download/B/8/1/B8175F7D-C2B2-4E7F-AE8F-7272FACF79BB/"
    VERBOSE: Resolving URI: "http://go.microsoft.com/fwlink/?linkid=390787"
    VERBOSE: Your connection has been redirected to the following URI:
    "http://download.microsoft.com/download/B/8/1/B8175F7D-C2B2-4E7F-AE8F-7272FACF79BB/"
    VERBOSE: Resolving URI: "http://go.microsoft.com/fwlink/?LinkID=393254"
    VERBOSE: Your connection has been redirected to the following URI:
    "http://download.microsoft.com/download/1/3/7/137FD172-BAE0-4B90-8D08-445A11576A28/"
    VERBOSE: Resolving URI: "http://go.microsoft.com/fwlink/?LinkID=393254"
    VERBOSE: Your connection has been redirected to the following URI:
    "http://download.microsoft.com/download/1/3/7/137FD172-BAE0-4B90-8D08-445A11576A28/"
    VERBOSE: Resolving URI: "http://go.microsoft.com/fwlink/?linkid=285754"
    VERBOSE: Your connection has been redirected to the following URI:
    "http://download.microsoft.com/download/D/D/A/DDA9C0B2-E8BB-46FF-BA89-60CD64DE21C7/"
    VERBOSE: Resolving URI: "http://go.microsoft.com/fwlink/?linkid=285754"
    VERBOSE: Your connection has been redirected to the following URI:
    "http://download.microsoft.com/download/D/D/A/DDA9C0B2-E8BB-46FF-BA89-60CD64DE21C7/"
    VERBOSE: Resolving URI: "http://go.microsoft.com/fwlink/?linkid=390784"
    VERBOSE: Your connection has been redirected to the following URI:
    "http://download.microsoft.com/download/9/3/8/9385B975-0BD3-418F-8A33-9422DF5F9E38/"
    VERBOSE: Resolving URI: "http://go.microsoft.com/fwlink/?linkid=390784"
    VERBOSE: Your connection has been redirected to the following URI:
    "http://download.microsoft.com/download/9/3/8/9385B975-0BD3-418F-8A33-9422DF5F9E38/"
    VERBOSE: Resolving URI: "http://go.microsoft.com/fwlink/?LinkId=509916"
    VERBOSE: Your connection has been redirected to the following URI:
    "http://download.microsoft.com/download/C/9/3/C9313309-5D20-4EAA-AED9-EFEBD0564545"
    VERBOSE: Your connection has been redirected to the following URI:
    "http://ak.or.download.microsoft.com/download/C/9/3/C9313309-5D20-4EAA-AED9-EFEBD0564545/"
    VERBOSE: Resolving URI: "http://go.microsoft.com/fwlink/?LinkId=509916"
    VERBOSE: Your connection has been redirected to the following URI:
    "http://download.microsoft.com/download/C/9/3/C9313309-5D20-4EAA-AED9-EFEBD0564545"
    VERBOSE: Your connection has been redirected to the following URI:
    "http://ak.or.download.microsoft.com/download/C/9/3/C9313309-5D20-4EAA-AED9-EFEBD0564545/"
    VERBOSE: Resolving URI: "http://go.microsoft.com/fwlink/?linkid=390786"
    VERBOSE: Your connection has been redirected to the following URI:
    "http://download.microsoft.com/download/F/9/F/F9F893E0-3ADC-494A-951B-6A542D0E15D6/"
    VERBOSE: Resolving URI: "http://go.microsoft.com/fwlink/?linkid=390786"
    VERBOSE: Your connection has been redirected to the following URI:
    "http://download.microsoft.com/download/F/9/F/F9F893E0-3ADC-494A-951B-6A542D0E15D6/"
    VERBOSE: Resolving URI: "http://go.microsoft.com/fwlink/?linkid=390782"
    VERBOSE: Your connection has been redirected to the following URI:
    "http://download.microsoft.com/download/F/0/C/F0C126C6-D461-4357-91D1-A4D3957DF2AF/"
    VERBOSE: Resolving URI: "http://go.microsoft.com/fwlink/?linkid=390782"
    VERBOSE: Your connection has been redirected to the following URI:
    "http://download.microsoft.com/download/F/0/C/F0C126C6-D461-4357-91D1-A4D3957DF2AF/"
    PS U:\>

    ---


    • Edited by Cerkyr Tuesday, January 9, 2018 8:52 AM
    Tuesday, January 9, 2018 8:51 AM
  • I try the URL :

    http://download.microsoft.com/download/D/A/B/DAB15498-E46E-41D9-9693-C61191BA3234/

    And my browser say : " the file is NOT valid ." .

    Tuesday, January 9, 2018 8:54 AM
  • I also try :

    http://go.microsoft.com/fwlink/?linkid=390782

    And my browser say : " the file is NOT valid ." .

    Tuesday, January 9, 2018 8:55 AM
  • I also try :

    http://download.microsoft.com/download/F/0/C/F0C126C6-D461-4357-91D1-A4D3957DF2AF/

    I type on "open" (without "save" or "save as") :

    403 - Forbidden: Access is denied.

    You do not have permission to view this directory or page using the credentials that you supplied.

    Tuesday, January 9, 2018 9:00 AM
  • I try this link :

    https://www.microsoft.com/en-us/download/details.aspx?id=36475

    Install instructions are :

    --

    If you can run the Save-Help cmdlet on a computer connected to the Internet to get the Help files, then do not use this manual procedure.

    This procedure should be used only when you cannot run the Save-Help cmdlet.

    1.      Download these files and copy them to a shared folder that the computers on which you want to install the Help can access.  If you have a folder in which you have already stored the output of the Save-Help cmdlet, you can copy these files to that folder. 

    2.      On the computers on which you want to install Help, run the command Update-Help -SourcePath foldername, where foldername is the path to the shared folder to which you copied the Help files in step 1

    --



    • Edited by Cerkyr Tuesday, January 9, 2018 9:23 AM
    Tuesday, January 9, 2018 9:21 AM
  • You are running Save-Help from a machine that is connected to the internet correct? I ran on my machine and all seems to have worked fine. I did receive that error for a PowerShell module from a Third Party, which it looks like from the error, that module doesn't support updatable help. So I think the error is fine, just more of a 'hey I tried to update, but they do not support this functionality, so just letting you know'.

    When running the command, I did receive updated help files and that error did not show until the cmdlet was finished.


    If you find that my post has answered your question, please mark it as the answer. If you find my post to be helpful in anyway, please click vote as helpful. (99,108,97,121,109,97,110,50,64,110,121,99,97,112,46,114,114,46,99,111,109|%{[char]$_})-join''

    Tuesday, January 9, 2018 12:43 PM
  • Can you provide some command lines running Save-Help ?

    Don't forget that the title of the issue is "update-help without direct Internet"

    Then, the goal is to find a website to downloads the help-files dedicated for PowerShell 5.1, but also the files to update it ?
    It seems that many many commands are missing.

    • Edited by Cerkyr Tuesday, January 9, 2018 3:09 PM
    Tuesday, January 9, 2018 3:04 PM
  • Please read the following carefully:

    help save-help -full


    \_(ツ)_/

    Tuesday, January 9, 2018 3:09 PM
  • Yes, I know that the first thing to do is to consult the powershell help .

    get-help save-help -full

    save-help -DestinationPath "D:\TRANSFERTS\Powershell_Helps_Updates" -Module * -verbose -full

    Nothing appear, any file ...

    VERBOSE: Resolving URI: "http://go.microsoft.com/fwlink/?linkid=390785"
    VERBOSE: Your connection has been redirected to the following URI:
    "http://download.microsoft.com/download/D/A/B/DAB15498-E46E-41D9-9693-C61191BA3234/"
    VERBOSE: Resolving URI: "http://go.microsoft.com/fwlink/?linkid=390785"
    VERBOSE: Your connection has been redirected to the following URI:
    "http://download.microsoft.com/download/D/A/B/DAB15498-E46E-41D9-9693-C61191BA3234/"
    VERBOSE: Resolving URI: "http://go.microsoft.com/fwlink/?linkid=390787"
    VERBOSE: Your connection has been redirected to the following URI:
    "http://download.microsoft.com/download/B/8/1/B8175F7D-C2B2-4E7F-AE8F-7272FACF79BB/"
    VERBOSE: Resolving URI: "http://go.microsoft.com/fwlink/?linkid=390787"
    VERBOSE: Your connection has been redirected to the following URI:
    "http://download.microsoft.com/download/B/8/1/B8175F7D-C2B2-4E7F-AE8F-7272FACF79BB/"
    VERBOSE: Resolving URI: "http://go.microsoft.com/fwlink/?linkid=392040"
    VERBOSE: Your connection has been redirected to the following URI:
    "http://download.microsoft.com/download/B/2/B/B2BD8D1A-073E-468E-8191-DB39EB94AE18/"
    VERBOSE: Resolving URI: "http://go.microsoft.com/fwlink/?linkid=392040"
    VERBOSE: Your connection has been redirected to the following URI:
    "http://download.microsoft.com/download/B/2/B/B2BD8D1A-073E-468E-8191-DB39EB94AE18/"
    VERBOSE: Resolving URI: "http://go.microsoft.com/fwlink/?LinkId=393271"
    VERBOSE: Your connection has been redirected to the following URI:
    "http://download.microsoft.com/download/F/2/F/F2F19EDD-7CF7-4F08-9302-706B99A67E34/"
    VERBOSE: Resolving URI: "http://go.microsoft.com/fwlink/?LinkId=393271"
    VERBOSE: Your connection has been redirected to the following URI:
    "http://download.microsoft.com/download/F/2/F/F2F19EDD-7CF7-4F08-9302-706B99A67E34/"
    VERBOSE: Resolving URI: "http://go.microsoft.com/fwlink/?linkid=390758"
    VERBOSE: Your connection has been redirected to the following URI:
    "http://download.microsoft.com/download/0/1/C/01CCC594-2F13-40E8-98FE-185486228BF4/"
    VERBOSE: Resolving URI: "http://go.microsoft.com/fwlink/?linkid=390758"
    VERBOSE: Your connection has been redirected to the following URI:
    "http://download.microsoft.com/download/0/1/C/01CCC594-2F13-40E8-98FE-185486228BF4/"
    VERBOSE: Resolving URI: "http://go.microsoft.com/fwlink/?linkid=390780"
    VERBOSE: Your connection has been redirected to the following URI:
    "http://download.microsoft.com/download/B/D/6/BD6017C9-2862-467D-8D2C-F5ABA76FEA34/"
    VERBOSE: Resolving URI: "http://go.microsoft.com/fwlink/?linkid=390780"
    VERBOSE: Your connection has been redirected to the following URI:
    "http://download.microsoft.com/download/B/D/6/BD6017C9-2862-467D-8D2C-F5ABA76FEA34/"
    VERBOSE: Resolving URI: "http://go.microsoft.com/fwlink/?LinkID=393254"
    VERBOSE: Your connection has been redirected to the following URI:
    "http://download.microsoft.com/download/1/3/7/137FD172-BAE0-4B90-8D08-445A11576A28/"
    VERBOSE: Resolving URI: "http://go.microsoft.com/fwlink/?LinkID=393254"
    VERBOSE: Your connection has been redirected to the following URI:
    "http://download.microsoft.com/download/1/3/7/137FD172-BAE0-4B90-8D08-445A11576A28/"
    VERBOSE: Resolving URI: "http://go.microsoft.com/fwlink/?linkid=285754"
    VERBOSE: Your connection has been redirected to the following URI:
    "http://download.microsoft.com/download/D/D/A/DDA9C0B2-E8BB-46FF-BA89-60CD64DE21C7/"
    VERBOSE: Resolving URI: "http://go.microsoft.com/fwlink/?linkid=285754"
    VERBOSE: Your connection has been redirected to the following URI:
    "http://download.microsoft.com/download/D/D/A/DDA9C0B2-E8BB-46FF-BA89-60CD64DE21C7/"
    VERBOSE: Resolving URI: "http://go.microsoft.com/fwlink/?linkid=390784"
    VERBOSE: Your connection has been redirected to the following URI:
    "http://download.microsoft.com/download/9/3/8/9385B975-0BD3-418F-8A33-9422DF5F9E38/"
    VERBOSE: Resolving URI: "http://go.microsoft.com/fwlink/?linkid=390784"
    VERBOSE: Your connection has been redirected to the following URI:
    "http://download.microsoft.com/download/9/3/8/9385B975-0BD3-418F-8A33-9422DF5F9E38/"
    VERBOSE: Resolving URI: "http://go.microsoft.com/fwlink/?LinkId=509916"
    VERBOSE: Your connection has been redirected to the following URI:
    "http://download.microsoft.com/download/C/9/3/C9313309-5D20-4EAA-AED9-EFEBD0564545"
    VERBOSE: Your connection has been redirected to the following URI:
    "http://ak.or.download.microsoft.com/download/C/9/3/C9313309-5D20-4EAA-AED9-EFEBD0564545/"
    VERBOSE: Resolving URI: "http://go.microsoft.com/fwlink/?LinkId=509916"
    VERBOSE: Your connection has been redirected to the following URI:
    "http://download.microsoft.com/download/C/9/3/C9313309-5D20-4EAA-AED9-EFEBD0564545"
    VERBOSE: Your connection has been redirected to the following URI:
    "http://ak.or.download.microsoft.com/download/C/9/3/C9313309-5D20-4EAA-AED9-EFEBD0564545/"
    VERBOSE: Resolving URI: "http://go.microsoft.com/fwlink/?linkid=390786"
    VERBOSE: Your connection has been redirected to the following URI:
    "http://download.microsoft.com/download/F/9/F/F9F893E0-3ADC-494A-951B-6A542D0E15D6/"
    VERBOSE: Resolving URI: "http://go.microsoft.com/fwlink/?linkid=390786"
    VERBOSE: Your connection has been redirected to the following URI:
    "http://download.microsoft.com/download/F/9/F/F9F893E0-3ADC-494A-951B-6A542D0E15D6/"
    VERBOSE: Resolving URI: "http://go.microsoft.com/fwlink/?linkid=390788"
    VERBOSE: Your connection has been redirected to the following URI:
    "http://download.microsoft.com/download/7/7/B/77B1633E-56CB-4573-AA7B-021DDC00EAA4/"
    VERBOSE: Resolving URI: "http://go.microsoft.com/fwlink/?linkid=390788"
    VERBOSE: Your connection has been redirected to the following URI:
    "http://download.microsoft.com/download/7/7/B/77B1633E-56CB-4573-AA7B-021DDC00EAA4/"
    VERBOSE: Resolving URI: "http://go.microsoft.com/fwlink/?linkid=216365"
    VERBOSE: Your connection has been redirected to the following URI:
    "http://download.microsoft.com/download/0/7/4/074A9960-600E-4EFC-A49D-E86F4793FC73/"
    VERBOSE: Resolving URI: "http://go.microsoft.com/fwlink/?linkid=216365"
    VERBOSE: Your connection has been redirected to the following URI:
    "http://download.microsoft.com/download/0/7/4/074A9960-600E-4EFC-A49D-E86F4793FC73/"
    VERBOSE: Resolving URI: "http://go.microsoft.com/fwlink/?linkid=390814"
    VERBOSE: Your connection has been redirected to the following URI:
    "http://download.microsoft.com/download/A/5/0/A50C496B-974D-45CC-BF4F-6F87A81DF980/"
    VERBOSE: Resolving URI: "http://go.microsoft.com/fwlink/?linkid=390814"
    VERBOSE: Your connection has been redirected to the following URI:
    "http://download.microsoft.com/download/A/5/0/A50C496B-974D-45CC-BF4F-6F87A81DF980/"
    VERBOSE: Resolving URI: "http://go.microsoft.com/fwlink/?linkid=390816"
    VERBOSE: Your connection has been redirected to the following URI:
    "http://download.microsoft.com/download/F/1/8/F1882B16-05E4-4E8C-BAA1-BE7B13AA9649/"
    VERBOSE: Resolving URI: "http://go.microsoft.com/fwlink/?linkid=390816"
    VERBOSE: Your connection has been redirected to the following URI:
    "http://download.microsoft.com/download/F/1/8/F1882B16-05E4-4E8C-BAA1-BE7B13AA9649/"
    VERBOSE: Resolving URI: "http://go.microsoft.com/fwlink/?linkid=390817"
    VERBOSE: Your connection has been redirected to the following URI:
    "http://download.microsoft.com/download/B/8/7/B87C6BBE-96F6-43DA-9761-96A5F96F3A33/"
    VERBOSE: Resolving URI: "http://go.microsoft.com/fwlink/?linkid=390817"
    VERBOSE: Your connection has been redirected to the following URI:
    "http://download.microsoft.com/download/B/8/7/B87C6BBE-96F6-43DA-9761-96A5F96F3A33/"
    VERBOSE: Resolving URI: "http://go.microsoft.com/fwlink/?linkid=390818"
    VERBOSE: Your connection has been redirected to the following URI:
    "http://download.microsoft.com/download/7/3/7/737BC509-30C9-4D36-9E90-386291D1F47F/"
    VERBOSE: Resolving URI: "http://go.microsoft.com/fwlink/?linkid=390818"
    VERBOSE: Your connection has been redirected to the following URI:
    "http://download.microsoft.com/download/7/3/7/737BC509-30C9-4D36-9E90-386291D1F47F/"
    VERBOSE: Resolving URI: "http://go.microsoft.com/fwlink/?linkid=390782"
    VERBOSE: Your connection has been redirected to the following URI:
    "http://download.microsoft.com/download/F/0/C/F0C126C6-D461-4357-91D1-A4D3957DF2AF/"
    VERBOSE: Resolving URI: "http://go.microsoft.com/fwlink/?linkid=390782"
    VERBOSE: Your connection has been redirected to the following URI:
    "http://download.microsoft.com/download/F/0/C/F0C126C6-D461-4357-91D1-A4D3957DF2AF/"
    save-help : Failed to save Help for the module(s) 'AppLocker, BitsTransfer, PSDiagnostics, TroubleshootingPack' : The
    Update-Help command failed because the specified module does not support updatable help. Use Get-Help -Online or look
    online for help for the commands in this module.
    At line:1 char:1
    + save-help -DestinationPath "D:\TRANSFERTS\Powershell_Helps_Updates" - ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : NotSpecified: (HelpInfoUri:Uri) [Save-Help], Exception
        + FullyQualifiedErrorId : HelpInfoUriNotFound,Microsoft.PowerShell.Commands.SaveHelpCommand

    https://docs.microsoft.com/fr-fr/powershell/module/Microsoft.PowerShell.Core/Save-Help?view=powershell-5.1

    I plan to try the command outside the company network ...



    • Edited by Cerkyr Tuesday, January 9, 2018 3:43 PM
    Tuesday, January 9, 2018 3:31 PM
  • It must be run from an Internet connected system.

    It works fine for me.

    Some help files cannot be downloaded since they do not support updateable help.

    You will end up with a folder full of XML and CAB files that can be stored on a drive and used with Update-Help on another system.


    \_(ツ)_/

    Tuesday, January 9, 2018 3:45 PM
  • Hello,

    Through a Windows 7, without the company Network, directly on Internet, the command doesn't download anything :

    save-help -DestinationPath "D:\TRANSFERTS\Powershell_Helps_Updates" -Module * -verbose -full

    On your side, what are the messages when you use the parameter "-verbose" ?

    Regards,

    Wednesday, January 10, 2018 10:24 AM
  • Same problem outside the company network .

    I also check :

    https://windowsserver.uservoice.com/forums/301869-powershell/suggestions/15832144-powershell-5-on-windows-10-server-2012-helpfiles-a

    Then, I consider that I'm not alone on this problem.
    • Edited by Cerkyr Wednesday, January 10, 2018 2:10 PM
    Wednesday, January 10, 2018 10:50 AM
  • Hi,

    I would suggest you open up a case with Microsoft Technical Support to see if they could get more information regarding this problem: 
    https://www.microsoft.com/en-us/worldwide.aspx.

    Thanks for your understanding and cooperation.

    Best Regards,
    Albert

    Please remember to mark the replies as an answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com

    Thursday, January 11, 2018 6:50 AM