Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Here is a PowerShell script to store all alphabets from A to Z and display them randomly five times:
- $alphabets = "a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"
- for($i = 0; $i -lt 5; $i++)
- {
- $randomAlphabets = Get-Random -InputObject $alphabets -Count 26
- Write-Host $randomAlphabets
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement