You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 578403d
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: PSModuleDevelopment/functions/help/Get-PSMDHelpEx.ps1
+9-10Lines changed: 9 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,11 @@
1
-
FunctionGet-HelpEx
1
+
FunctionGet-PSMDHelpEx
2
2
{
3
3
<#
4
4
.SYNOPSIS
5
5
Displays localized information about Windows PowerShell commands and concepts.
6
6
7
7
.DESCRIPTION
8
-
The Get-HelpEx function is a wrapper around get-help that allows localizing help queries.
8
+
The Get-PSMDHelpEx function is a wrapper around get-help that allows localizing help queries.
9
9
This is especially useful when developing modules with help in multiple languages.
10
10
11
11
.PARAMETERCategory
@@ -23,7 +23,7 @@
23
23
This parameter is effective only when help files are for the command are installed on the computer. It has no effect on displays of conceptual ("About_") help.
24
24
25
25
.PARAMETERExamples
26
-
Displays only the name, synopsis, and examples. To display only the examples, type "(Get-HelpEx <cmdlet-name>).Examples".
26
+
Displays only the name, synopsis, and examples. To display only the examples, type "(Get-PSMDHelpEx <cmdlet-name>).Examples".
27
27
28
28
This parameter is effective only when help files are for the command are installed on the computer. It has no effect on displays of conceptual ("About_") help.
29
29
@@ -110,7 +110,7 @@
110
110
This parameter is introduced in Windows PowerShell 3.0.
111
111
112
112
.EXAMPLE
113
-
PS C:\> Get-HelpEx Get-Help "en-us" -Detailed
113
+
PS C:\> Get-PSMDHelpEx Get-Help "en-us" -Detailed
114
114
115
115
Gets the detailed help text of Get-Help in English
116
116
@@ -175,16 +175,16 @@
175
175
176
176
Begin
177
177
{
178
-
if ($PSBoundParameters.ContainsKey("SetLanguage")) { $script:set_language=$SetLanguage }
179
-
if ($PSBoundParameters.ContainsKey("Language"))
178
+
if (Test-PSFParameterBinding-ParameterName "SetLanguage") { $script:set_language=$SetLanguage }
179
+
if (Test-PSFParameterBinding-ParameterName "Language")
0 commit comments