Last active
October 6, 2016 17:14
-
-
Save alx9r/ac6d52fc0115f24f20507411c349a190 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PS C:\> Trace-Command ParameterBinding { 'string' | Test-Discrimination } -PSHost | |
DEBUG: ParameterBinding Information: 0 : BIND NAMED cmd line args [Test-Discrimination] | |
DEBUG: ParameterBinding Information: 0 : BIND POSITIONAL cmd line args [Test-Discrimination] | |
DEBUG: ParameterBinding Information: 0 : MANDATORY PARAMETER CHECK on cmdlet [Test-Discrimination] | |
DEBUG: ParameterBinding Information: 0 : BIND arg [] to parameter [String] | |
DEBUG: ParameterBinding Information: 0 : Executing DATA GENERATION metadata: | |
[System.Management.Automation.ArgumentTypeConverterAttribute] | |
DEBUG: ParameterBinding Information: 0 : result returned from DATA GENERATION: | |
DEBUG: ParameterBinding Information: 0 : COERCE arg to [System.String] | |
DEBUG: ParameterBinding Information: 0 : Parameter and arg types the same, no coercion is needed. | |
DEBUG: ParameterBinding Information: 0 : BIND arg [] to param [String] SUCCESSFUL | |
DEBUG: ParameterBinding Information: 0 : BIND arg [] to parameter [Hashtable] | |
DEBUG: ParameterBinding Information: 0 : BIND arg [] to param [Hashtable] SUCCESSFUL | |
DEBUG: ParameterBinding Information: 0 : BIND arg [] to parameter [PsCustomObject] | |
DEBUG: ParameterBinding Information: 0 : BIND arg [] to param [PsCustomObject] SUCCESSFUL | |
DEBUG: ParameterBinding Information: 0 : CALLING BeginProcessing | |
DEBUG: ParameterBinding Information: 0 : BIND PIPELINE object to parameters: [Test-Discrimination] | |
DEBUG: ParameterBinding Information: 0 : PIPELINE object TYPE = [System.String] | |
DEBUG: ParameterBinding Information: 0 : RESTORING pipeline parameter's original values | |
DEBUG: ParameterBinding Information: 0 : Parameter [PsCustomObject] PIPELINE INPUT ValueFromPipeline NO COERCION | |
DEBUG: ParameterBinding Information: 0 : BIND arg [string] to parameter [PsCustomObject] | |
DEBUG: ParameterBinding Information: 0 : Executing DATA GENERATION metadata: | |
[System.Management.Automation.ArgumentTypeConverterAttribute] | |
DEBUG: ParameterBinding Information: 0 : result returned from DATA GENERATION: string | |
DEBUG: ParameterBinding Information: 0 : BIND arg [string] to param [PsCustomObject] SUCCESSFUL | |
DEBUG: ParameterBinding Information: 0 : Parameter [Hashtable] PIPELINE INPUT ValueFromPipeline NO COERCION | |
DEBUG: ParameterBinding Information: 0 : BIND arg [string] to parameter [Hashtable] | |
DEBUG: ParameterBinding Information: 0 : Executing DATA GENERATION metadata: | |
[System.Management.Automation.ArgumentTypeConverterAttribute] | |
DEBUG: ParameterBinding Information: 0 : result returned from DATA GENERATION: string | |
DEBUG: ParameterBinding Information: 0 : BIND arg [string] to param [Hashtable] SKIPPED | |
DEBUG: ParameterBinding Information: 0 : Parameter [String] PIPELINE INPUT ValueFromPipeline NO COERCION | |
DEBUG: ParameterBinding Information: 0 : BIND arg [string] to parameter [String] | |
DEBUG: ParameterBinding Information: 0 : Executing DATA GENERATION metadata: | |
[System.Management.Automation.ArgumentTypeConverterAttribute] | |
DEBUG: ParameterBinding Information: 0 : result returned from DATA GENERATION: string | |
DEBUG: ParameterBinding Information: 0 : BIND arg [string] to param [String] SUCCESSFUL | |
DEBUG: ParameterBinding Information: 0 : BIND PIPELINE object to parameters: [Out-Default] | |
DEBUG: ParameterBinding Information: 0 : PIPELINE object TYPE = [System.Management.Automation.ErrorRecord] | |
DEBUG: ParameterBinding Information: 0 : RESTORING pipeline parameter's original values | |
DEBUG: ParameterBinding Information: 0 : Parameter [InputObject] PIPELINE INPUT ValueFromPipeline NO COERCION | |
DEBUG: ParameterBinding Information: 0 : BIND arg [Parameter set cannot be resolved using the specified named | |
parameters.] to parameter [InputObject] | |
DEBUG: ParameterBinding Information: 0 : BIND arg [Parameter set cannot be resolved using the specified named | |
parameters.] to param [InputObject] SUCCESSFUL | |
DEBUG: ParameterBinding Information: 0 : MANDATORY PARAMETER CHECK on cmdlet [Out-Default] | |
DEBUG: ParameterBinding Information: 0 : BIND NAMED cmd line args [Out-LineOutput] | |
DEBUG: ParameterBinding Information: 0 : BIND arg [Microsoft.PowerShell.Commands.Internal.Format.ConsoleLineOutput] | |
to parameter [LineOutput] | |
DEBUG: ParameterBinding Information: 0 : COERCE arg to [System.Object] | |
DEBUG: ParameterBinding Information: 0 : Parameter and arg types the same, no coercion is needed. | |
DEBUG: ParameterBinding Information: 0 : BIND arg | |
[Microsoft.PowerShell.Commands.Internal.Format.ConsoleLineOutput] to param [LineOutput] SUCCESSFUL | |
DEBUG: ParameterBinding Information: 0 : BIND POSITIONAL cmd line args [Out-LineOutput] | |
DEBUG: ParameterBinding Information: 0 : MANDATORY PARAMETER CHECK on cmdlet [Out-LineOutput] | |
DEBUG: ParameterBinding Information: 0 : CALLING BeginProcessing | |
DEBUG: ParameterBinding Information: 0 : BIND PIPELINE object to parameters: [Out-LineOutput] | |
DEBUG: ParameterBinding Information: 0 : PIPELINE object TYPE = [System.Management.Automation.ErrorRecord] | |
DEBUG: ParameterBinding Information: 0 : RESTORING pipeline parameter's original values | |
DEBUG: ParameterBinding Information: 0 : Parameter [InputObject] PIPELINE INPUT ValueFromPipeline NO COERCION | |
DEBUG: ParameterBinding Information: 0 : BIND arg [Parameter set cannot be resolved using the specified named | |
parameters.] to parameter [InputObject] | |
DEBUG: ParameterBinding Information: 0 : BIND arg [Parameter set cannot be resolved using the specified named | |
parameters.] to param [InputObject] SUCCESSFUL | |
DEBUG: ParameterBinding Information: 0 : MANDATORY PARAMETER CHECK on cmdlet [out-lineoutput] | |
DEBUG: ParameterBinding Information: 0 : BIND NAMED cmd line args [Format-Default] | |
DEBUG: ParameterBinding Information: 0 : BIND POSITIONAL cmd line args [Format-Default] | |
DEBUG: ParameterBinding Information: 0 : MANDATORY PARAMETER CHECK on cmdlet [Format-Default] | |
DEBUG: ParameterBinding Information: 0 : CALLING BeginProcessing | |
DEBUG: ParameterBinding Information: 0 : BIND PIPELINE object to parameters: [Format-Default] | |
DEBUG: ParameterBinding Information: 0 : PIPELINE object TYPE = [System.Management.Automation.ErrorRecord] | |
DEBUG: ParameterBinding Information: 0 : RESTORING pipeline parameter's original values | |
DEBUG: ParameterBinding Information: 0 : Parameter [InputObject] PIPELINE INPUT ValueFromPipeline NO COERCION | |
DEBUG: ParameterBinding Information: 0 : BIND arg [Parameter set cannot be resolved using the specified named | |
parameters.] to parameter [InputObject] | |
DEBUG: ParameterBinding Information: 0 : BIND arg [Parameter set cannot be resolved using the specified named | |
parameters.] to param [InputObject] SUCCESSFUL | |
DEBUG: ParameterBinding Information: 0 : MANDATORY PARAMETER CHECK on cmdlet [format-default] | |
DEBUG: ParameterBinding Information: 0 : BIND NAMED cmd line args [Set-StrictMode] | |
DEBUG: ParameterBinding Information: 0 : BIND arg [1] to parameter [Version] | |
DEBUG: ParameterBinding Information: 0 : Executing DATA GENERATION metadata: | |
[Microsoft.PowerShell.Commands.SetStrictModeCommand+ArgumentToVersionTransformationAttribute] | |
DEBUG: ParameterBinding Information: 0 : result returned from DATA GENERATION: 1.0 | |
DEBUG: ParameterBinding Information: 0 : COERCE arg to [System.Version] | |
DEBUG: ParameterBinding Information: 0 : Parameter and arg types the same, no coercion is needed. | |
DEBUG: ParameterBinding Information: 0 : Executing VALIDATION metadata: | |
[Microsoft.PowerShell.Commands.SetStrictModeCommand+ValidateVersionAttribute] | |
DEBUG: ParameterBinding Information: 0 : BIND arg [1.0] to param [Version] SUCCESSFUL | |
DEBUG: ParameterBinding Information: 0 : BIND POSITIONAL cmd line args [Set-StrictMode] | |
DEBUG: ParameterBinding Information: 0 : MANDATORY PARAMETER CHECK on cmdlet [Set-StrictMode] | |
DEBUG: ParameterBinding Information: 0 : CALLING BeginProcessing | |
DEBUG: ParameterBinding Information: 0 : CALLING EndProcessing | |
DEBUG: ParameterBinding Information: 0 : BIND NAMED cmd line args [Set-StrictMode] | |
DEBUG: ParameterBinding Information: 0 : BIND arg [1] to parameter [Version] | |
DEBUG: ParameterBinding Information: 0 : Executing DATA GENERATION metadata: | |
[Microsoft.PowerShell.Commands.SetStrictModeCommand+ArgumentToVersionTransformationAttribute] | |
DEBUG: ParameterBinding Information: 0 : result returned from DATA GENERATION: 1.0 | |
DEBUG: ParameterBinding Information: 0 : COERCE arg to [System.Version] | |
DEBUG: ParameterBinding Information: 0 : Parameter and arg types the same, no coercion is needed. | |
DEBUG: ParameterBinding Information: 0 : Executing VALIDATION metadata: | |
[Microsoft.PowerShell.Commands.SetStrictModeCommand+ValidateVersionAttribute] | |
DEBUG: ParameterBinding Information: 0 : BIND arg [1.0] to param [Version] SUCCESSFUL | |
DEBUG: ParameterBinding Information: 0 : BIND POSITIONAL cmd line args [Set-StrictMode] | |
DEBUG: ParameterBinding Information: 0 : MANDATORY PARAMETER CHECK on cmdlet [Set-StrictMode] | |
DEBUG: ParameterBinding Information: 0 : CALLING BeginProcessing | |
DEBUG: ParameterBinding Information: 0 : CALLING EndProcessing | |
DEBUG: ParameterBinding Information: 0 : BIND NAMED cmd line args [Set-StrictMode] | |
DEBUG: ParameterBinding Information: 0 : BIND arg [1] to parameter [Version] | |
DEBUG: ParameterBinding Information: 0 : Executing DATA GENERATION metadata: | |
[Microsoft.PowerShell.Commands.SetStrictModeCommand+ArgumentToVersionTransformationAttribute] | |
DEBUG: ParameterBinding Information: 0 : result returned from DATA GENERATION: 1.0 | |
DEBUG: ParameterBinding Information: 0 : COERCE arg to [System.Version] | |
DEBUG: ParameterBinding Information: 0 : Parameter and arg types the same, no coercion is needed. | |
DEBUG: ParameterBinding Information: 0 : Executing VALIDATION metadata: | |
[Microsoft.PowerShell.Commands.SetStrictModeCommand+ValidateVersionAttribute] | |
DEBUG: ParameterBinding Information: 0 : BIND arg [1.0] to param [Version] SUCCESSFUL | |
DEBUG: ParameterBinding Information: 0 : BIND POSITIONAL cmd line args [Set-StrictMode] | |
DEBUG: ParameterBinding Information: 0 : MANDATORY PARAMETER CHECK on cmdlet [Set-StrictMode] | |
DEBUG: ParameterBinding Information: 0 : CALLING BeginProcessing | |
DEBUG: ParameterBinding Information: 0 : CALLING EndProcessing | |
DEBUG: ParameterBinding Information: 0 : BIND NAMED cmd line args [Set-StrictMode] | |
DEBUG: ParameterBinding Information: 0 : BIND arg [1] to parameter [Version] | |
DEBUG: ParameterBinding Information: 0 : Executing DATA GENERATION metadata: | |
[Microsoft.PowerShell.Commands.SetStrictModeCommand+ArgumentToVersionTransformationAttribute] | |
DEBUG: ParameterBinding Information: 0 : result returned from DATA GENERATION: 1.0 | |
DEBUG: ParameterBinding Information: 0 : COERCE arg to [System.Version] | |
DEBUG: ParameterBinding Information: 0 : Parameter and arg types the same, no coercion is needed. | |
DEBUG: ParameterBinding Information: 0 : Executing VALIDATION metadata: | |
[Microsoft.PowerShell.Commands.SetStrictModeCommand+ValidateVersionAttribute] | |
DEBUG: ParameterBinding Information: 0 : BIND arg [1.0] to param [Version] SUCCESSFUL | |
DEBUG: ParameterBinding Information: 0 : BIND POSITIONAL cmd line args [Set-StrictMode] | |
DEBUG: ParameterBinding Information: 0 : MANDATORY PARAMETER CHECK on cmdlet [Set-StrictMode] | |
DEBUG: ParameterBinding Information: 0 : CALLING BeginProcessing | |
DEBUG: ParameterBinding Information: 0 : CALLING EndProcessing | |
Test-Discrimination : Parameter set cannot be resolved using the specified named parameters. | |
At line:1 char:45 | |
+ Trace-Command ParameterBinding { 'string' | Test-Discrimination } -PSHost | |
+ ~~~~~~~~~~~~~~~~~~~ | |
+ CategoryInfo : InvalidArgument: (string:String) [Test-Discrimination], ParameterBindingException | |
+ FullyQualifiedErrorId : AmbiguousParameterSet,Test-Discrimination | |
DEBUG: ParameterBinding Information: 0 : CALLING EndProcessing |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment