Facebook
From khnm, 4 Weeks ago, written in PowerShell.
This paste is a reply to Re: gdgdfgdg from gfdgfd - go back
Embed
Viewing differences between Re: gdgdfgdg and Re: Re: gdgdfgdg
Get-Random : Parameter set cannot be resolved using the specified named parameters.
At line:28 char:17
$numsTirage = @()
$numsTirage += (Get-Random (1..5 | ForEach-Object { Get-Random -Minimum 1 -Maximum 51 -Count 5)
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [Get-Random], ParameterBindingExc 
   eption
    + FullyQualifiedErrorId : AmbiguousParameterSet,Microsoft.PowerShell.Commands.Ge 
   tRandomCommand
 
Get-Random : Parameter set cannot be resolved using the specified named parameters.
At line:29 char:17
})
$numsTirage += (Get-Random (1..2 | ForEach-Object { Get-Random -Minimum 1 -Maximum 13 -Count 2)
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [Get-Random], ParameterBindingExc 
   eption
    + FullyQualifiedErrorId : AmbiguousParameterSet,Microsoft.PowerShell.Commands.Ge 
   tRandomCommand
})