Get a random decimal number between 0 and 1 in PowerShell Posted by By Kenward April 23, 2021Posted inPowerShellNo Comments Get-Random -Maximum ([Double]1) How does this work? The Get-Random cmdlet returns a Double (that's a decimal number) when the Maximum parameter is a Double. If we just wrote -Maximum 1,…