mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-04-22 01:48:20 +02:00
Update tell-quote.ps1
This commit is contained in:
parent
c6e7da31b6
commit
f20248dc0a
@ -12,7 +12,7 @@
|
|||||||
#>
|
#>
|
||||||
|
|
||||||
try {
|
try {
|
||||||
$Table = import-csv "$PSScriptRoot/../Data/quotes.csv"
|
$Table = Import-CSV "$PSScriptRoot/../Data/quotes.csv"
|
||||||
|
|
||||||
$Generator = New-Object System.Random
|
$Generator = New-Object System.Random
|
||||||
$Index = [int]$Generator.next(0, $Table.Count - 1)
|
$Index = [int]$Generator.next(0, $Table.Count - 1)
|
||||||
|
Loading…
Reference in New Issue
Block a user