Update help without using administrator access

This topic contains 3 replies, has 3 voices, and was last updated by Profile photo of mlm0009 . mlm0009 . 2 years, 1 month ago.

  • Author
    Posts
  • #19710
    Profile photo of mlm0009 .
    mlm0009 .
    Participant

    Is there a way to update the help files without using the administrator access? In some enviroment the administrator account cannot access out side our company but our local user account can.

    But the local user is not an administrator so the update will fail. Does Microsoft have a way to just download help files and then run the update to point PowerShell to this file and have it update the help files.

    Thanks
    mlm0009

  • #19711
    Profile photo of Richard Siddaway
    Richard Siddaway
    Moderator

    You can use save-Help to download the help files to a network share & then point update-help at the share to perform the installs. With PowerShell v4 Save-Help can download help files for modules installed on local and remote machines but PowerShell v3 only allows for modules on local machine. If you have a mixture of PowerShell v3 & v4 you'll need to maintain 2 sets of files – one for each version – as they aren't compatible. Check the help files for save-help; update-help and about_Updatable_Help

  • #19712
    Profile photo of Don Jones
    Don Jones
    Keymaster

    Keep in mind that the core cmdlet help is installed in System32. One reason you may need to be a local Admin to update it is due to the permissions on the System32 folder hierarchy. This will be a problem even if you've downloaded the help by using Save-Help; without rights to the folder hierarchy, PowerShell won't be able to install the files.

  • #19732
    Profile photo of mlm0009 .
    mlm0009 .
    Participant

    Thanks Richard that will work because I can run PowerShell as an Admin so should it should not be an issue once I have the file download to point to the update-help files on a local share.

    mlm0009

You must be logged in to reply to this topic.