Name Category Module Synopsis -------------------------- about_Aliases HelpFile SHORT DESCRIPTION about_Arithmetic_Operators HelpFile SHORT DESCRIPTION about_Arrays HelpFile SHORT DESCRIPTION about_Assignment_Operators HelpFile SHORT DESCRIPTION about_Automatic_Variables HelpFile SHORT DESCRIPTION about_Break HelpFile SHORT DESCRIPTION about_Classes HelpFile SHORT DESCRIPTION about_Command_Precedence HelpFile SHORT DESCRIPTION about_Command_Syntax HelpFile SHORT DESCRIPTION about_Comment_Based_Help HelpFile SHORT DESCRIPTION about_CommonParameters HelpFile SHORT DESCRIPTION about_Comparison_Operators HelpFile SHORT DESCRIPTION about_Continue HelpFile SHORT DESCRIPTION about_Core_Commands HelpFile SHORT DESCRIPTION about_Data_Sections HelpFile SHORT DESCRIPTION about_Debuggers HelpFile SHORT DESCRIPTION about_DesiredStateConfiguration HelpFile SHORT DESCRIPTION
# find all text files inside the PowerShell folder that start # with "about" Get-ChildItem-Path$pshome-Filter about*.txt -Recurse | # identify those that do not end with ".help.txt" Where-Object { $_.Name -notlike'*.help.txt' } | # rename the extension using a regex: Rename-Item-NewName { $_.Name -replace'\.txt$', '.help.txt'}