Skip to content

Commit ea59da9

Browse files
sdwheelerDCtheGeek
authored andcommitted
Fix #4119 - add missing link (#4123)
1 parent 1fa5935 commit ea59da9

File tree

5 files changed

+92
-121
lines changed

5 files changed

+92
-121
lines changed

reference/3.0/Microsoft.PowerShell.Core/About/about_Functions_Advanced.md

Lines changed: 19 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,9 @@ locale: en-us
55
keywords: powershell,cmdlet
66
title: about_Functions_Advanced
77
---
8-
98
# About Functions Advanced
109

1110
## SHORT DESCRIPTION
12-
1311
Introduces advanced functions that act similar to cmdlets.
1412

1513
## LONG DESCRIPTION
@@ -23,22 +21,22 @@ compiled cmdlet or when you want to write a function that is similar to a
2321
compiled cmdlet.
2422

2523
There is a difference between authoring a compiled cmdlet and an advanced
26-
function. Compiled cmdlets are .NET Framework classes that must be written in
27-
a .NET Framework language such as C#. In contrast, advanced functions are
28-
written in the PowerShell script language in the same way that other
29-
functions or script blocks are written.
24+
function. Compiled cmdlets are .NET Framework classes that must be written in a
25+
.NET Framework language such as C#. In contrast, advanced functions are written
26+
in the PowerShell script language in the same way that other functions or
27+
script blocks are written.
3028

3129
Advanced functions use the CmdletBinding attribute to identify them as
3230
functions that act similar to cmdlets. The CmdletBinding attribute is similar
33-
to the Cmdlet attribute that is used in compiled cmdlet classes to identify
34-
the class as a cmdlet. For more information about this attribute, see
35-
about_Functions_CmdletBindingAttribute.
31+
to the Cmdlet attribute that is used in compiled cmdlet classes to identify the
32+
class as a cmdlet. For more information about this attribute, see
33+
[about_Functions_CmdletBindingAttribute](about_Functions_CmdletBindingAttribute.md).
3634

3735
The following example shows a function that accepts a name and then prints a
38-
greeting using the supplied name. Also notice that this function defines a
39-
name that includes a verb (Send) and noun (Greeting) pair similar to the
40-
verb-noun pair of a compiled cmdlet. However, functions are not required to
41-
have a verb-noun name.
36+
greeting using the supplied name. Also notice that this function defines a name
37+
that includes a verb (Send) and noun (Greeting) pair similar to the verb-noun
38+
pair of a compiled cmdlet. However, functions are not required to have a
39+
verb-noun name.
4240

4341
```powershell
4442
function Send-Greeting
@@ -60,23 +58,20 @@ The parameters of the function are declared by using the Parameter attribute.
6058
This attribute can be used alone, or it can be combined with the Alias
6159
attribute or with several other parameter validation attributes. For more
6260
information about how to declare parameters (including dynamic parameters that
63-
are added at runtime), see
64-
[about_Functions_Advanced_Parameters](about_Functions_Advanced_Parameters.md).
61+
are added at runtime), see [about_Functions_Advanced_Parameters](about_Functions_Advanced_Parameters.md).
6562

6663
The actual work of the previous function is performed in the Process block,
6764
which is equivalent to the ProcessingRecord method that is used by compiled
6865
cmdlets to process the data that is passed to the cmdlet. This block, along
69-
with the Begin and End blocks, is described in the
70-
[about_Functions_Advanced_Methods](about_Functions_Advanced_Methods.md) topic.
66+
with the Begin and End blocks, is described in the [about_Functions_Advanced_Methods](about_Functions_Advanced_Methods.md)
67+
topic.
7168

7269
Advanced functions differ from compiled cmdlets in the following ways:
7370

74-
- Advanced function parameter binding does not throw an exception when an
75-
array of strings is bound to a Boolean parameter.
76-
77-
- The ValidateSet attribute and the ValidatePattern attribute cannot pass
78-
named parameters.
79-
71+
- Advanced function parameter binding does not throw an exception when an array
72+
of strings is bound to a Boolean parameter.
73+
- The ValidateSet attribute and the ValidatePattern attribute cannot pass named
74+
parameters.
8075
- Advanced functions cannot be used in transactions.
8176

8277
## SEE ALSO
@@ -89,6 +84,4 @@ Advanced functions differ from compiled cmdlets in the following ways:
8984

9085
[about_Functions_CmdletBindingAttribute](about_Functions_CmdletBindingAttribute.md)
9186

92-
[about_Functions_OutputTypeAttribute](about_Functions_OutputTypeAttribute.md)
93-
94-
[PowerShell Cmdlets](http://go.microsoft.com/fwlink/?LinkID=135279)
87+
[about_Functions_OutputTypeAttribute](about_Functions_OutputTypeAttribute.md)

reference/4.0/Microsoft.PowerShell.Core/About/about_Functions_Advanced.md

Lines changed: 19 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,9 @@ locale: en-us
55
keywords: powershell,cmdlet
66
title: about_Functions_Advanced
77
---
8-
98
# About Functions Advanced
109

1110
## SHORT DESCRIPTION
12-
1311
Introduces advanced functions that act similar to cmdlets.
1412

1513
## LONG DESCRIPTION
@@ -23,22 +21,22 @@ compiled cmdlet or when you want to write a function that is similar to a
2321
compiled cmdlet.
2422

2523
There is a difference between authoring a compiled cmdlet and an advanced
26-
function. Compiled cmdlets are .NET Framework classes that must be written in
27-
a .NET Framework language such as C#. In contrast, advanced functions are
28-
written in the PowerShell script language in the same way that other
29-
functions or script blocks are written.
24+
function. Compiled cmdlets are .NET Framework classes that must be written in a
25+
.NET Framework language such as C#. In contrast, advanced functions are written
26+
in the PowerShell script language in the same way that other functions or
27+
script blocks are written.
3028

3129
Advanced functions use the CmdletBinding attribute to identify them as
3230
functions that act similar to cmdlets. The CmdletBinding attribute is similar
33-
to the Cmdlet attribute that is used in compiled cmdlet classes to identify
34-
the class as a cmdlet. For more information about this attribute, see
35-
about_Functions_CmdletBindingAttribute.
31+
to the Cmdlet attribute that is used in compiled cmdlet classes to identify the
32+
class as a cmdlet. For more information about this attribute, see
33+
[about_Functions_CmdletBindingAttribute](about_Functions_CmdletBindingAttribute.md).
3634

3735
The following example shows a function that accepts a name and then prints a
38-
greeting using the supplied name. Also notice that this function defines a
39-
name that includes a verb (Send) and noun (Greeting) pair similar to the
40-
verb-noun pair of a compiled cmdlet. However, functions are not required to
41-
have a verb-noun name.
36+
greeting using the supplied name. Also notice that this function defines a name
37+
that includes a verb (Send) and noun (Greeting) pair similar to the verb-noun
38+
pair of a compiled cmdlet. However, functions are not required to have a
39+
verb-noun name.
4240

4341
```powershell
4442
function Send-Greeting
@@ -60,23 +58,20 @@ The parameters of the function are declared by using the Parameter attribute.
6058
This attribute can be used alone, or it can be combined with the Alias
6159
attribute or with several other parameter validation attributes. For more
6260
information about how to declare parameters (including dynamic parameters that
63-
are added at runtime), see
64-
[about_Functions_Advanced_Parameters](about_Functions_Advanced_Parameters.md).
61+
are added at runtime), see [about_Functions_Advanced_Parameters](about_Functions_Advanced_Parameters.md).
6562

6663
The actual work of the previous function is performed in the Process block,
6764
which is equivalent to the ProcessingRecord method that is used by compiled
6865
cmdlets to process the data that is passed to the cmdlet. This block, along
69-
with the Begin and End blocks, is described in the
70-
[about_Functions_Advanced_Methods](about_Functions_Advanced_Methods.md) topic.
66+
with the Begin and End blocks, is described in the [about_Functions_Advanced_Methods](about_Functions_Advanced_Methods.md)
67+
topic.
7168

7269
Advanced functions differ from compiled cmdlets in the following ways:
7370

74-
- Advanced function parameter binding does not throw an exception when an
75-
array of strings is bound to a Boolean parameter.
76-
77-
- The ValidateSet attribute and the ValidatePattern attribute cannot pass
78-
named parameters.
79-
71+
- Advanced function parameter binding does not throw an exception when an array
72+
of strings is bound to a Boolean parameter.
73+
- The ValidateSet attribute and the ValidatePattern attribute cannot pass named
74+
parameters.
8075
- Advanced functions cannot be used in transactions.
8176

8277
## SEE ALSO
@@ -89,6 +84,4 @@ Advanced functions differ from compiled cmdlets in the following ways:
8984

9085
[about_Functions_CmdletBindingAttribute](about_Functions_CmdletBindingAttribute.md)
9186

92-
[about_Functions_OutputTypeAttribute](about_Functions_OutputTypeAttribute.md)
93-
94-
[PowerShell Cmdlets](http://go.microsoft.com/fwlink/?LinkID=135279)
87+
[about_Functions_OutputTypeAttribute](about_Functions_OutputTypeAttribute.md)

reference/5.0/Microsoft.PowerShell.Core/About/about_Functions_Advanced.md

Lines changed: 18 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -21,22 +21,22 @@ compiled cmdlet or when you want to write a function that is similar to a
2121
compiled cmdlet.
2222

2323
There is a difference between authoring a compiled cmdlet and an advanced
24-
function. Compiled cmdlets are .NET Framework classes that must be written in
25-
a .NET Framework language such as C#. In contrast, advanced functions are
26-
written in the PowerShell script language in the same way that other
27-
functions or script blocks are written.
24+
function. Compiled cmdlets are .NET Framework classes that must be written in a
25+
.NET Framework language such as C#. In contrast, advanced functions are written
26+
in the PowerShell script language in the same way that other functions or
27+
script blocks are written.
2828

2929
Advanced functions use the CmdletBinding attribute to identify them as
3030
functions that act similar to cmdlets. The CmdletBinding attribute is similar
31-
to the Cmdlet attribute that is used in compiled cmdlet classes to identify
32-
the class as a cmdlet. For more information about this attribute, see
33-
about_Functions_CmdletBindingAttribute.
31+
to the Cmdlet attribute that is used in compiled cmdlet classes to identify the
32+
class as a cmdlet. For more information about this attribute, see
33+
[about_Functions_CmdletBindingAttribute](about_Functions_CmdletBindingAttribute.md).
3434

3535
The following example shows a function that accepts a name and then prints a
36-
greeting using the supplied name. Also notice that this function defines a
37-
name that includes a verb (Send) and noun (Greeting) pair similar to the
38-
verb-noun pair of a compiled cmdlet. However, functions are not required to
39-
have a verb-noun name.
36+
greeting using the supplied name. Also notice that this function defines a name
37+
that includes a verb (Send) and noun (Greeting) pair similar to the verb-noun
38+
pair of a compiled cmdlet. However, functions are not required to have a
39+
verb-noun name.
4040

4141
```powershell
4242
function Send-Greeting
@@ -58,23 +58,20 @@ The parameters of the function are declared by using the Parameter attribute.
5858
This attribute can be used alone, or it can be combined with the Alias
5959
attribute or with several other parameter validation attributes. For more
6060
information about how to declare parameters (including dynamic parameters that
61-
are added at runtime), see
62-
[about_Functions_Advanced_Parameters](about_Functions_Advanced_Parameters.md).
61+
are added at runtime), see [about_Functions_Advanced_Parameters](about_Functions_Advanced_Parameters.md).
6362

6463
The actual work of the previous function is performed in the Process block,
6564
which is equivalent to the ProcessingRecord method that is used by compiled
6665
cmdlets to process the data that is passed to the cmdlet. This block, along
67-
with the Begin and End blocks, is described in the
68-
[about_Functions_Advanced_Methods](about_Functions_Advanced_Methods.md) topic.
66+
with the Begin and End blocks, is described in the [about_Functions_Advanced_Methods](about_Functions_Advanced_Methods.md)
67+
topic.
6968

7069
Advanced functions differ from compiled cmdlets in the following ways:
7170

72-
- Advanced function parameter binding does not throw an exception when an
73-
array of strings is bound to a Boolean parameter.
74-
75-
- The ValidateSet attribute and the ValidatePattern attribute cannot pass
76-
named parameters.
77-
71+
- Advanced function parameter binding does not throw an exception when an array
72+
of strings is bound to a Boolean parameter.
73+
- The ValidateSet attribute and the ValidatePattern attribute cannot pass named
74+
parameters.
7875
- Advanced functions cannot be used in transactions.
7976

8077
## SEE ALSO
@@ -88,5 +85,3 @@ Advanced functions differ from compiled cmdlets in the following ways:
8885
[about_Functions_CmdletBindingAttribute](about_Functions_CmdletBindingAttribute.md)
8986

9087
[about_Functions_OutputTypeAttribute](about_Functions_OutputTypeAttribute.md)
91-
92-
[PowerShell Cmdlets](http://go.microsoft.com/fwlink/?LinkID=135279)

reference/5.1/Microsoft.PowerShell.Core/About/about_Functions_Advanced.md

Lines changed: 18 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,9 @@ locale: en-us
55
keywords: powershell,cmdlet
66
title: about_Functions_Advanced
77
---
8-
98
# About Functions Advanced
109

1110
## SHORT DESCRIPTION
12-
1311
Introduces advanced functions that act similar to cmdlets.
1412

1513
## LONG DESCRIPTION
@@ -23,22 +21,22 @@ compiled cmdlet or when you want to write a function that is similar to a
2321
compiled cmdlet.
2422

2523
There is a difference between authoring a compiled cmdlet and an advanced
26-
function. Compiled cmdlets are .NET Framework classes that must be written in
27-
a .NET Framework language such as C#. In contrast, advanced functions are
28-
written in the PowerShell script language in the same way that other
29-
functions or script blocks are written.
24+
function. Compiled cmdlets are .NET Framework classes that must be written in a
25+
.NET Framework language such as C#. In contrast, advanced functions are written
26+
in the PowerShell script language in the same way that other functions or
27+
script blocks are written.
3028

3129
Advanced functions use the CmdletBinding attribute to identify them as
3230
functions that act similar to cmdlets. The CmdletBinding attribute is similar
33-
to the Cmdlet attribute that is used in compiled cmdlet classes to identify
34-
the class as a cmdlet. For more information about this attribute, see
35-
about_Functions_CmdletBindingAttribute.
31+
to the Cmdlet attribute that is used in compiled cmdlet classes to identify the
32+
class as a cmdlet. For more information about this attribute, see
33+
[about_Functions_CmdletBindingAttribute](about_Functions_CmdletBindingAttribute.md).
3634

3735
The following example shows a function that accepts a name and then prints a
38-
greeting using the supplied name. Also notice that this function defines a
39-
name that includes a verb (Send) and noun (Greeting) pair similar to the
40-
verb-noun pair of a compiled cmdlet. However, functions are not required to
41-
have a verb-noun name.
36+
greeting using the supplied name. Also notice that this function defines a name
37+
that includes a verb (Send) and noun (Greeting) pair similar to the verb-noun
38+
pair of a compiled cmdlet. However, functions are not required to have a
39+
verb-noun name.
4240

4341
```powershell
4442
function Send-Greeting
@@ -60,23 +58,20 @@ The parameters of the function are declared by using the Parameter attribute.
6058
This attribute can be used alone, or it can be combined with the Alias
6159
attribute or with several other parameter validation attributes. For more
6260
information about how to declare parameters (including dynamic parameters that
63-
are added at runtime), see
64-
[about_Functions_Advanced_Parameters](about_Functions_Advanced_Parameters.md).
61+
are added at runtime), see [about_Functions_Advanced_Parameters](about_Functions_Advanced_Parameters.md).
6562

6663
The actual work of the previous function is performed in the Process block,
6764
which is equivalent to the ProcessingRecord method that is used by compiled
6865
cmdlets to process the data that is passed to the cmdlet. This block, along
69-
with the Begin and End blocks, is described in the
70-
[about_Functions_Advanced_Methods](about_Functions_Advanced_Methods.md) topic.
66+
with the Begin and End blocks, is described in the [about_Functions_Advanced_Methods](about_Functions_Advanced_Methods.md)
67+
topic.
7168

7269
Advanced functions differ from compiled cmdlets in the following ways:
7370

74-
- Advanced function parameter binding does not throw an exception when an
75-
array of strings is bound to a Boolean parameter.
76-
77-
- The ValidateSet attribute and the ValidatePattern attribute cannot pass
78-
named parameters.
79-
71+
- Advanced function parameter binding does not throw an exception when an array
72+
of strings is bound to a Boolean parameter.
73+
- The ValidateSet attribute and the ValidatePattern attribute cannot pass named
74+
parameters.
8075
- Advanced functions cannot be used in transactions.
8176

8277
## SEE ALSO
@@ -90,5 +85,3 @@ Advanced functions differ from compiled cmdlets in the following ways:
9085
[about_Functions_CmdletBindingAttribute](about_Functions_CmdletBindingAttribute.md)
9186

9287
[about_Functions_OutputTypeAttribute](about_Functions_OutputTypeAttribute.md)
93-
94-
[PowerShell Cmdlets](http://go.microsoft.com/fwlink/?LinkID=135279)

reference/6/Microsoft.PowerShell.Core/About/about_Functions_Advanced.md

Lines changed: 18 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -21,22 +21,22 @@ compiled cmdlet or when you want to write a function that is similar to a
2121
compiled cmdlet.
2222

2323
There is a difference between authoring a compiled cmdlet and an advanced
24-
function. Compiled cmdlets are .NET Framework classes that must be written in
25-
a .NET Framework language such as C#. In contrast, advanced functions are
26-
written in the PowerShell script language in the same way that other
27-
functions or script blocks are written.
24+
function. Compiled cmdlets are .NET Framework classes that must be written in a
25+
.NET Framework language such as C#. In contrast, advanced functions are written
26+
in the PowerShell script language in the same way that other functions or
27+
script blocks are written.
2828

2929
Advanced functions use the CmdletBinding attribute to identify them as
3030
functions that act similar to cmdlets. The CmdletBinding attribute is similar
31-
to the Cmdlet attribute that is used in compiled cmdlet classes to identify
32-
the class as a cmdlet. For more information about this attribute, see
33-
about_Functions_CmdletBindingAttribute.
31+
to the Cmdlet attribute that is used in compiled cmdlet classes to identify the
32+
class as a cmdlet. For more information about this attribute, see
33+
[about_Functions_CmdletBindingAttribute](about_Functions_CmdletBindingAttribute.md).
3434

3535
The following example shows a function that accepts a name and then prints a
36-
greeting using the supplied name. Also notice that this function defines a
37-
name that includes a verb (Send) and noun (Greeting) pair similar to the
38-
verb-noun pair of a compiled cmdlet. However, functions are not required to
39-
have a verb-noun name.
36+
greeting using the supplied name. Also notice that this function defines a name
37+
that includes a verb (Send) and noun (Greeting) pair similar to the verb-noun
38+
pair of a compiled cmdlet. However, functions are not required to have a
39+
verb-noun name.
4040

4141
```powershell
4242
function Send-Greeting
@@ -58,23 +58,20 @@ The parameters of the function are declared by using the Parameter attribute.
5858
This attribute can be used alone, or it can be combined with the Alias
5959
attribute or with several other parameter validation attributes. For more
6060
information about how to declare parameters (including dynamic parameters that
61-
are added at runtime), see
62-
[about_Functions_Advanced_Parameters](about_Functions_Advanced_Parameters.md).
61+
are added at runtime), see [about_Functions_Advanced_Parameters](about_Functions_Advanced_Parameters.md).
6362

6463
The actual work of the previous function is performed in the Process block,
6564
which is equivalent to the ProcessingRecord method that is used by compiled
6665
cmdlets to process the data that is passed to the cmdlet. This block, along
67-
with the Begin and End blocks, is described in the
68-
[about_Functions_Advanced_Methods](about_Functions_Advanced_Methods.md) topic.
66+
with the Begin and End blocks, is described in the [about_Functions_Advanced_Methods](about_Functions_Advanced_Methods.md)
67+
topic.
6968

7069
Advanced functions differ from compiled cmdlets in the following ways:
7170

72-
- Advanced function parameter binding does not throw an exception when an
73-
array of strings is bound to a Boolean parameter.
74-
75-
- The ValidateSet attribute and the ValidatePattern attribute cannot pass
76-
named parameters.
77-
71+
- Advanced function parameter binding does not throw an exception when an array
72+
of strings is bound to a Boolean parameter.
73+
- The ValidateSet attribute and the ValidatePattern attribute cannot pass named
74+
parameters.
7875
- Advanced functions cannot be used in transactions.
7976

8077
## SEE ALSO

0 commit comments

Comments
 (0)