PoshCode Archive  Artifact [2923fa6366]

Artifact 2923fa6366883766cd838d659ecf5bbb84c4840a54a9eedd5d7bda65e11c0593:

  • File Show-HtmlHelp.ps1 — part of check-in [347d24e7ba] at 2018-06-10 13:07:28 on branch trunk — From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes (user: Lee Holmes size: 860)

# encoding: ascii
# api: powershell
# title: Show-HtmlHelp.ps1
# description: From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes
# version: 0.1
# author: Lee Holmes
# license: CC0
# x-poshcode-id: 2224
# x-archived: 2016-03-18T22:01:38
# x-published: 2011-09-09T21:42:00
#
#
##############################################################################
##
## Show-HtmlHelp
##
## From Windows PowerShell Cookbook (O'Reilly)
## by Lee Holmes (http://www.leeholmes.com/guide)
##
##############################################################################

<#

.SYNOPSIS

Launches the CHM version of PowerShell help.

.EXAMPLE

Show-HtmlHelp

#>

Set-StrictMode -Version Latest

$path = (Resolve-Path c:\windows\help\mui\*\WindowsPowerShellHelp.chm).Path
hh "$path::/html/defed09e-2acd-4042-bd22-ce4bf92c2f24.htm"