Get-RandomWeighted

1.0.0.2

Utilizing a key-value pair hashtable, the script will return a random
result.  In the hashtable, the keys need to be the entries you are looking
randomize and their weights are the value of the pair.

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Script -Name Get-RandomWeighted

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

The MIT License (MIT)

Package Details

Author(s)

  • SmallFoxx

Tags

Random Weighted Integer List

Functions

New-Range Get-MaxRange Get-WeightedResult Add-WeightToRange

Dependencies

This script has no dependencies.

FileList

Version History

Version Downloads Last updated
1.0.0.2 (current version) 41 10/21/2022
1.0.0.1 23 10/20/2022