Command output now goes into variable $RdString

This commit is contained in:
Kawawete 2024-11-27 17:49:06 +01:00
parent bc97219e5e
commit d6982c4927

View File

@ -12,4 +12,6 @@ $Special = Get-Random -Count 5 -InputObject $TokenSet.S
$StringSet = $Upper + $Lower + $Number + $Special
(Get-Random -Count 15 -InputObject $StringSet) -join ''
$RdString = (Get-Random -Count 15 -InputObject $StringSet) -join ''
#You can use now $RdString in your script to make a random password to an AD user or other stuff...