You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
method to generate a seed value. Because **SetSeed** results in non-random behavior, it is typically
356
+
The **SetSeed** parameter isn't required. By default, `Get-Random` uses the [RandomNumberGenerator()](/dotnet/api/system.security.cryptography.randomnumbergenerator)
357
+
method to generate a seed value. Because **SetSeed** results in non-random behavior, it's typically
343
358
used only when trying to reproduce behavior, such as when debugging or analyzing a script that
344
359
includes `Get-Random` commands.
345
360
@@ -382,4 +397,9 @@ starts.
382
397
Beginning in Windows PowerShell 3.0, `Get-Random` supports 64-bit integers. In Windows PowerShell
383
398
2.0, all values are cast to **System.Int32**.
384
399
400
+
Beginning in PowerShell 7, the **InputObject** parameter in the **RandomListItemParameterSet**
401
+
parameter set accepts arrays that contain an empty string or `$null`. In earlier PowerShell
402
+
versions, only the **Maximum** parameter in the **RandomNumberParameterSet** parameter set accepted
0 commit comments