Recreation of an old script. Basically this will run get-help for all commands and output it to c:pshelp .. I like it ;-)
#########################################################################################
$AppName = “Dump-Help.ps1”
$AppVer = “v1.0 [7 August 2008]”
#v1.0 6 August 2008 : A script is Born
#
#This script Checks dumps the build help information for all commands it can find
# that have a related PSSnapIn
# The output is from get-help -full
# The output is put in the subfolders in c:pshelp
#
#Written By Paul Flaherty
#blogs.flaphead.com
#Common Variables
$ServerName = hostname # Server Name
$Today = Get-Date # Todays Date
$xUser = [System.Security.Principal.WindowsIdentity]::GetCurrent()
$xUser = $xUser.Name
#########################################################################################
#########################################################################################
#Display script name and version
#########################################################################################
Write-host ” ” $AppName -NoNewLine -foregroundcolor Green
Write-Host “: ” $AppVer -foregroundcolor Green
Write-host “`n Run on $ServerName at $Today by $xUser” -foregroundcolor Yellow
Write-Host “|——————————————————————-|`n”
#########################################################################################
#get the help names that are associated with a PSSnapin
#########################################################################################
$help = get-help * | select name,category,pssnapin | where {$_.PsSnapin -ne $null}
#########################################################################################
#Loop each name
# Set and create the folder path
# Write out the FULL help text
#########################################################################################
ForEach ($item in $help)
{
$x = $item.pssnapin.tostring()
$y = $item.name.tostring()
IF ($x -eq $Null){$x=”x”}
$outfile = “c:PShelp$x”
IF ((test-path $outfile) -eq $False){MD $outfile}
$outfile += “$y.txt”
write-host $outfile
Get-Help $y -full | out-file $outfile -width 9999
}
#########################################################################################
#End
#########################################################################################