Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

Creating a centralized Help distribution folder - update-help and save-help

$
0
0

I´m trying to create a centralized Help distribution folder 

i´ve created and shared a folder: c:\update-help$, sahred for everyone, read

in a central machine, the sheduled task, running evgery day

C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -Command "& {Save-Help -DestinationPath 'C:\Update-Help$'}"

No problem, the help files are downlaoded

The idea com from the post: http://blog.powershell.no/2013/03/09/automatically-update-help-files-for-windows-powershell/

So, i´ve configured a GPO< to force all win2012 servers to get the help file from the shared folder \\update-help\update-help$ folder

When i´m on a outdated Win2012, i can do the save-help, to update de the help, based on the central folder

IN the same machine (File Server) as the help files are stored, the error, using the PS admin:

PS C:\Windows\system32> update-help
update-help : Failed to update Help for the module(s) 'Microsoft.PowerShell.Management, AppLocker, Appx,
BestPractices, BranchCache, CimCmdlets, Deduplication, DirectAccessClientComponents, Dism, DnsClient,
FileServerResourceManager, International, iSCSI, IscsiTarget, ISE, Kds, Microsoft.PowerShell.Diagnostics,
Microsoft.PowerShell.Host, Microsoft.PowerShell.Security, Microsoft.PowerShell.Utility, Microsoft.WSMan.Management,
MMAgent, MPIO, MsDtc, NetAdapter, NetConnection, NetEventPacketCapture, NetLbfo, NetNat, NetQos, NetSecurity,
NetSwitchTeam, NetTCPIP, NetworkConnectivityStatus, NetworkTransition, NFS, PcsvDevice, PKI, PrintManagement,
PSDesiredStateConfiguration, PSScheduledJob, PSWorkflow, PSWorkflowUtility, RemoteDesktop, ScheduledTasks, SecureBoot,
ServerCore, ServerManager, ServerManagerTasks, SmbShare, SmbWitness, SoftwareInventoryLogging, StartScreen, Storage,
TLS, TroubleshootingPack, TrustedPlatformModule, UserAccessLogging, VpnClient, Wdac, Whea, WindowsDeveloperLicense,
WindowsErrorReporting, WindowsSearch, WindowsServerBackup, Microsoft.PowerShell.Core' with UI culture(s) {en-US} :
Unable to retrieve the HelpInfo XML file for UI culture en-US. Make sure the HelpInfoUri property in the module
manifest is valid or check your network connection and then try the command again.
At line:1 char:1
+ update-help
+ ~~~~~~~~~~~
    + CategoryInfo          : ResourceUnavailable: (:) [Update-Help], Exception
    + FullyQualifiedErrorId : UnableToRetrieveHelpInfoXml,Microsoft.PowerShell.Commands.UpdateHelpCommand

And, in another machine (AD/DNS/DHCP)

PS C:\Windows\system32> update-help
update-help : Failed to update Help for the module(s) 'ActiveDirectory, ADDSDeployment, DFSN, DhcpServer, DnsServer,
GroupPolicy, Nps, UpdateServices, WebAdministration' with UI culture(s) {en-US} : Unable to retrieve the HelpInfo XML
file for UI culture en-US. Make sure the HelpInfoUri property in the module manifest is valid or check your network
connection and then try the command again.
At line:1 char:1
+ update-help
+ ~~~~~~~~~~~
    + CategoryInfo          : ResourceUnavailable: (:) [Update-Help], Exception
    + FullyQualifiedErrorId : UnableToRetrieveHelpInfoXml,Microsoft.PowerShell.Commands.UpdateHelpCommand

PS C:\Windows\system32> update-help -UICulture en-us
update-help : Failed to update Help for the module(s) 'ActiveDirectory, ADDSDeployment, DFSN, DhcpServer, DnsServer,
GroupPolicy, Nps, UpdateServices, WebAdministration' with UI culture(s) {en-US} : Unable to retrieve the HelpInfo XML
file for UI culture en-US. Make sure the HelpInfoUri property in the module manifest is valid or check your network
connection and then try the command again.
At line:1 char:1
+ update-help -UICulture en-us
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ResourceUnavailable: (:) [Update-Help], Exception
    + FullyQualifiedErrorId : UnableToRetrieveHelpInfoXml,Microsoft.PowerShell.Commands.UpdateHelpCommand

PS C:\Windows\system32>


Viewing all articles
Browse latest Browse all 15028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>