< Back

Import-UnboundParameterCode

Sat Jan 11, 2020 12:49 pm

NAME Import-UnboundParameterCode



SYNOPSIS

Imports the .NET code to inspect unbound dynamic parameters in a PowerShell cmdlet DynamicParam section.





SYNTAX

Import-UnboundParameterCode [-PassThru] [<CommonParameters>]





DESCRIPTION

The cmdlet performs and Add-Type to import the code. It can also pass through the type you need to then invoke the

unbound parameter checking.





PARAMETERS

-PassThru [<SwitchParameter>]

Passes the static type to the pipeline.



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

None





OUTPUTS

None or System.Type





NOTES





AUTHOR: Michael Haken

LAST UPDATE: 2/6/2018



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>DynamicParam {



...