Get-help about_comment_based_help example not working as expected
i copied first example get-help about_comment_based_help file , saved .ps1 file. when try use get-help return collection of comments in example following:
ps c:\dbascripts> get-help add-extension
add-extension [[-name] <string>] [[-extention] <string>]
ps c:\dbascripts> get-help add-extension -full
add-extension [[-name] <string>] [[-extention] <string>]
none of keyword items included. have configured incorrectly? running wrong directory (c:\dbasscripts saved .ps1 file.)?
thanks elyons
[string](0..9|%{[char][int](32+("39826578840055658268").substring(($_*2),2))})-replace "\s{1}\b"
Windows Server > Windows PowerShell
Comments
Post a Comment