0

#PSTip For which system modules have you downloaded updatable help files?

When you run the new Update-Help cmdlet in PowerShell 3.0, it downloads and installs Help files, but you also get HelpInfo XML files. You can find them in $pshome and its subfolders. They are always named in the same way–ModuleName_GUID_HelpInfo.xml.
In the following command you will iterate through the $pshome folder and use that consistent naming scheme of HelpInfo files to find all system modules for which you have downloaded Help files:

PS> dir $pshome\*HelpInfo.xml -Recurse | foreach { ($_.name -split '_')[0] }
Filed in: Columns, Tips and Tricks Tags: , ,

Leave a Reply

Submit Comment

© 2016 PowerShell Magazine. All rights reserved. XHTML / CSS Valid.
Proudly designed by Theme Junkie.
%d bloggers like this: