Summary: Use Windows PowerShell to check the status of Help file updates on remote computers.
How can I easily see if the Windows PowerShell Help files are up-to-date on my remote computers?
Use the Invoke-Command cmdlet, target the remote computers, use Get-Help to look for help,
and then use the Select-String cmdlet to search for “Cannot find the Help files” in the output.
Here is an example (this is a single-line command broken at the pipeline character for readability):
Invoke-Command -CN "s1","s2","dc1" -ScriptBlock { get-help help |
Select-String "cannot find the Help files" -Quiet}
0 comments