独自のヘルプベースのPowerShellの作成をテストするための小さなスクリプトを作成しましたが、エラーが発生しました。
Get-Help:トピック「。\testHelp.ps1」のヘルプが見つかりません。行:49文字:15 + Get-Help <<<< @PSBoundParameters | more + CategoryInfo:ResourceUnavailable:(:) [Get-Help]、HelpNotFoundException + FullyQualifiedErrorId:HelpNotFound、Microsoft.PowerShell.Commands.GetHelpCommand
テストスクリプトは次のとおりです。
<#
SYNOPSIS
retrieive a list of services from local and remote machines
.DESCRIPTION
Retrieive services from local and remote machines and reports the following fields
.PARAMETER Servers
The Get-Service cmdlet gets objects that represent the services on a local computer or on a remote computer.
.EXAMPLE
PS C:\> Get-Something 'One value' 32
#>
param($computername="localhost")
Get-WmiObject -Class Win32_BIOS -ComputerName $computername