02 January 2015
Update poweshell help for computers not connected to internet
Starting with powershell v3 the help files must be downloaded as separate files an can also be updated in case something has changed.
if the computer have a internet connection available Update-Help cmdlet will download and install the help or just update it if is allready installed.
if the computer does not have an internet connection available then the help files can be downloaded on a computer that have an internet connection available and then transferred to an internal network share or directly to the computer that need to update the help files.
to save the help files from the internet use:
Save-Help -DestinationPath c:\temp\PowershellHelpFiles
destination path can also be a network location \\fileserver\FolderName
After that, on the computer that need to be updated run a powershell console with elevated rights (RunAs Administrator) and type:
Update-Help -SourcePath c:\temp\PowershellHelpFiles
source path can also be a network location \\fileserver\FolderName
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment