-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Doc change in Get-Random #4859
Copy link
Copy link
Closed
Labels
area-utilityArea - Microsoft.PowerShell.Utility moduleArea - Microsoft.PowerShell.Utility module
Milestone
Description
Issue Details
With this PR PowerShell/PowerShell#10644, when using -InputObject or piping to Get-Random, you can have an array that contains an empty string or $null:
Get-Random -InputObject @('a','',$null)Where it will select a, empty string, or $null to return. This is a change from previous PowerShell.
Version(s) of document impacted
- Impacts 7 document
- Impacts 6 document
- Impacts 5.1 document
- Impacts 5.0 document
- Impacts 4.0 document
- Impacts 3.0 document
Reason(s) for not selecting all version of documents
- The documented feature was introduced in selected version of PowerShell
- This issue only shows up in selected version of the document
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area-utilityArea - Microsoft.PowerShell.Utility moduleArea - Microsoft.PowerShell.Utility module