Skip to content

Document new -Count without InputObjects list for Get-Random cmdlet #3951

@pougetat

Description

@pougetat

Issue Details

We need to document the feature implemented by the following PR :

PowerShell/PowerShell#9111

The purpose of this PR is to implement the following feature for the Get-Random commandlet :
Get-Random -Maximum 10 -Count 3
5
1
7
Essentially when specifying -Count you don't necessarily need to specify an InputObjects list.

Version(s) of document impacted

  • Impacts 6.next 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

Metadata

Metadata

Assignees

Labels

area-utilityArea - Microsoft.PowerShell.Utility module

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions