Skip to content

Commit

Permalink
Merge pull request RamblingCookieMonster#5 from beatcracker/master
Browse files Browse the repository at this point in the history
Fixed typo in help
  • Loading branch information
RamblingCookieMonster committed May 19, 2015
2 parents 18cc70c + 656511b commit 412470a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion New-DynamicParam.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
#If no corresponding variable exists, one is created
#Get common parameters, pick out bound parameters not in that set
Function _temp { [cmdletbinding()] param() }
$BoundLeys = $PSBoundParameters.keys | Where-Object { (get-command _temp | select -ExpandProperty parameters).Keys -notcontains $_}
$BoundKeys = $PSBoundParameters.keys | Where-Object { (get-command _temp | select -ExpandProperty parameters).Keys -notcontains $_}
foreach($param in $BoundKeys)
{
if (-not ( Get-Variable -name $param -scope 0 -ErrorAction SilentlyContinue ) )
Expand Down

0 comments on commit 412470a

Please sign in to comment.