#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] }

About the author: Aleksandar Nikolic

Aleksandar is a PowerShell MVP and a co-founder of PowerShell Magazine. He is a frequent speaker at the conferences and participates regularly in IT Pro user groups worldwide. Recently, Aleksandar co-authored the highly respected Administrator’s Guide to Windows PowerShell Remoting. Follow him on Twitter at @alexandair

Related Posts