Skip to content

Commit

Permalink
Fix links
Browse files Browse the repository at this point in the history
  • Loading branch information
sdwheeler committed May 17, 2024
1 parent 93ac09d commit e41982f
Show file tree
Hide file tree
Showing 5 changed files with 38 additions and 38 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ After binding command-line arguments, PowerShell tries to bind any pipeline
input. There are two ways that values are bound from the pipeline. Parameters
that accept pipeline input have one or both of the following attributes:

- [ValueFromPipeline][01] - The value from the pipeline is bound to the
- [ValueFromPipeline][02] - The value from the pipeline is bound to the
parameter based on its type. The type of the argument must match the type of
the parameter.
- [ValueFromPipelineByPropertyName][02] - The value from the pipeline is bound
- [ValueFromPipelineByPropertyName][03] - The value from the pipeline is bound
to the parameter based on its name. The object in the pipeline must have a
property that matches the name of the parameter or one of its aliases. The
type of the property must match or be convertible to the type of the
Expand Down Expand Up @@ -78,7 +78,7 @@ PowerShell tries to bind pipeline input in the following order:
## Visualize parameter binding

Troubleshooting parameter binding issues can be challenging. You can use the
[Trace-Command][03] cmdlet to visualize the parameter binding process. The
[Trace-Command][04] cmdlet to visualize the parameter binding process. The
following example shows how to trace the parameter binding for a simple
pipeline.

Expand All @@ -91,10 +91,10 @@ Trace-Command -PSHost -Name ParameterBinding -Expression {
The output shows every step of the parameter binding process for the commands
in the **Expression**. The output can be verbose, but it can help you
understand why a parameter isn't being bound as expected. For a complete
example, see [Visualize parameter binding][04]:
example, see [Visualize parameter binding][01]:

<!-- link references -->
[01]: about_functions_advanced_parameters.md#valuefrompipeline-argument
[02]: about_functions_advanced_parameters.md#valuefrompipelinebypropertyname-argument
[03]: xref:Microsoft.PowerShell.Utility.Trace-Command
[04]: /powershell/scripting/learn/deep-dives/visualize-parameter-binding
[01]: /powershell/scripting/learn/deep-dives/visualize-parameter-binding
[02]: about_functions_advanced_parameters.md#valuefrompipeline-argument
[03]: about_functions_advanced_parameters.md#valuefrompipelinebypropertyname-argument
[04]: xref:Microsoft.PowerShell.Utility.Trace-Command
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ After binding command-line arguments, PowerShell tries to bind any pipeline
input. There are two ways that values are bound from the pipeline. Parameters
that accept pipeline input have one or both of the following attributes:

- [ValueFromPipeline][01] - The value from the pipeline is bound to the
- [ValueFromPipeline][02] - The value from the pipeline is bound to the
parameter based on its type. The type of the argument must match the type of
the parameter.
- [ValueFromPipelineByPropertyName][02] - The value from the pipeline is bound
- [ValueFromPipelineByPropertyName][03] - The value from the pipeline is bound
to the parameter based on its name. The object in the pipeline must have a
property that matches the name of the parameter or one of its aliases. The
type of the property must match or be convertible to the type of the
Expand Down Expand Up @@ -78,7 +78,7 @@ PowerShell tries to bind pipeline input in the following order:
## Visualize parameter binding

Troubleshooting parameter binding issues can be challenging. You can use the
[Trace-Command][03] cmdlet to visualize the parameter binding process. The
[Trace-Command][04] cmdlet to visualize the parameter binding process. The
following example shows how to trace the parameter binding for a simple
pipeline.

Expand All @@ -91,10 +91,10 @@ Trace-Command -PSHost -Name ParameterBinding -Expression {
The output shows every step of the parameter binding process for the commands
in the **Expression**. The output can be verbose, but it can help you
understand why a parameter isn't being bound as expected. For a complete
example, see [Visualize parameter binding][04]:
example, see [Visualize parameter binding][01]:

<!-- link references -->
[01]: about_functions_advanced_parameters.md#valuefrompipeline-argument
[02]: about_functions_advanced_parameters.md#valuefrompipelinebypropertyname-argument
[03]: xref:Microsoft.PowerShell.Utility.Trace-Command
[04]: /powershell/scripting/learn/deep-dives/visualize-parameter-binding
[01]: /powershell/scripting/learn/deep-dives/visualize-parameter-binding
[02]: about_functions_advanced_parameters.md#valuefrompipeline-argument
[03]: about_functions_advanced_parameters.md#valuefrompipelinebypropertyname-argument
[04]: xref:Microsoft.PowerShell.Utility.Trace-Command
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ After binding command-line arguments, PowerShell tries to bind any pipeline
input. There are two ways that values are bound from the pipeline. Parameters
that accept pipeline input have one or both of the following attributes:

- [ValueFromPipeline][01] - The value from the pipeline is bound to the
- [ValueFromPipeline][02] - The value from the pipeline is bound to the
parameter based on its type. The type of the argument must match the type of
the parameter.
- [ValueFromPipelineByPropertyName][02] - The value from the pipeline is bound
- [ValueFromPipelineByPropertyName][03] - The value from the pipeline is bound
to the parameter based on its name. The object in the pipeline must have a
property that matches the name of the parameter or one of its aliases. The
type of the property must match or be convertible to the type of the
Expand Down Expand Up @@ -78,7 +78,7 @@ PowerShell tries to bind pipeline input in the following order:
## Visualize parameter binding

Troubleshooting parameter binding issues can be challenging. You can use the
[Trace-Command][03] cmdlet to visualize the parameter binding process. The
[Trace-Command][04] cmdlet to visualize the parameter binding process. The
following example shows how to trace the parameter binding for a simple
pipeline.

Expand All @@ -91,10 +91,10 @@ Trace-Command -PSHost -Name ParameterBinding -Expression {
The output shows every step of the parameter binding process for the commands
in the **Expression**. The output can be verbose, but it can help you
understand why a parameter isn't being bound as expected. For a complete
example, see [Visualize parameter binding][04]:
example, see [Visualize parameter binding][01]:

<!-- link references -->
[01]: about_functions_advanced_parameters.md#valuefrompipeline-argument
[02]: about_functions_advanced_parameters.md#valuefrompipelinebypropertyname-argument
[03]: xref:Microsoft.PowerShell.Utility.Trace-Command
[04]: /powershell/scripting/learn/deep-dives/visualize-parameter-binding
[01]: /powershell/scripting/learn/deep-dives/visualize-parameter-binding
[02]: about_functions_advanced_parameters.md#valuefrompipeline-argument
[03]: about_functions_advanced_parameters.md#valuefrompipelinebypropertyname-argument
[04]: xref:Microsoft.PowerShell.Utility.Trace-Command
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ After binding command-line arguments, PowerShell tries to bind any pipeline
input. There are two ways that values are bound from the pipeline. Parameters
that accept pipeline input have one or both of the following attributes:

- [ValueFromPipeline][01] - The value from the pipeline is bound to the
- [ValueFromPipeline][02] - The value from the pipeline is bound to the
parameter based on its type. The type of the argument must match the type of
the parameter.
- [ValueFromPipelineByPropertyName][02] - The value from the pipeline is bound
- [ValueFromPipelineByPropertyName][03] - The value from the pipeline is bound
to the parameter based on its name. The object in the pipeline must have a
property that matches the name of the parameter or one of its aliases. The
type of the property must match or be convertible to the type of the
Expand Down Expand Up @@ -78,7 +78,7 @@ PowerShell tries to bind pipeline input in the following order:
## Visualize parameter binding

Troubleshooting parameter binding issues can be challenging. You can use the
[Trace-Command][03] cmdlet to visualize the parameter binding process. The
[Trace-Command][04] cmdlet to visualize the parameter binding process. The
following example shows how to trace the parameter binding for a simple
pipeline.

Expand All @@ -91,10 +91,10 @@ Trace-Command -PSHost -Name ParameterBinding -Expression {
The output shows every step of the parameter binding process for the commands
in the **Expression**. The output can be verbose, but it can help you
understand why a parameter isn't being bound as expected. For a complete
example, see [Visualize parameter binding][04]:
example, see [Visualize parameter binding][01]:

<!-- link references -->
[01]: about_functions_advanced_parameters.md#valuefrompipeline-argument
[02]: about_functions_advanced_parameters.md#valuefrompipelinebypropertyname-argument
[03]: xref:Microsoft.PowerShell.Utility.Trace-Command
[04]: /powershell/scripting/learn/deep-dives/visualize-parameter-binding
[01]: /powershell/scripting/learn/deep-dives/visualize-parameter-binding
[02]: about_functions_advanced_parameters.md#valuefrompipeline-argument
[03]: about_functions_advanced_parameters.md#valuefrompipelinebypropertyname-argument
[04]: xref:Microsoft.PowerShell.Utility.Trace-Command
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ following attributes:
parameter or one of its aliases. The type of the property must match or be convertible to the type
of the parameter.

For more information about parameter binding, see [about_Parameter_Binding][04].
For more information about parameter binding, see [about_Parameter_Binding][03].

## Use `Trace-Command` to visualize parameter binding

Troubleshooting parameter binding issues can be challenging. You can use the [Trace-Command][03]
Troubleshooting parameter binding issues can be challenging. You can use the [Trace-Command][04]
cmdlet to visualize the parameter binding process.

Consider the following scenario: You have a directory with two text files, `file1.txt` and
Expand Down Expand Up @@ -253,7 +253,7 @@ CALLING EndProcessing
```

<!-- link references -->
[01]: about_functions_advanced_parameters.md#valuefrompipeline-argument
[02]: about_functions_advanced_parameters.md#valuefrompipelinebypropertyname-argument
[03]: xref:Microsoft.PowerShell.Utility.Trace-Command
[04]: /powershell/modules/microsoft.powershell.core/about/about_parameter_binding
[01]: /powershell/modules/microsoft.powershell.core/about/about_functions_advanced_parameters#valuefrompipeline-argument
[02]: /powershell/modules/microsoft.powershell.core/about/about_functions_advanced_parameters#valuefrompipelinebypropertyname-argument
[03]: /powershell/modules/microsoft.powershell.core/about/about_parameter_binding
[04]: xref:Microsoft.PowerShell.Utility.Trace-Command

0 comments on commit e41982f

Please sign in to comment.