Thursday, 13 April 2017

Creating Random password using powershell

$Ragx=$NULL;For ($a=33;$a –le 126;$a++) {$Ragx+=,[char][byte]$a }

Function GET-Temppassword() {

Param(

[int]$length=10,

[string[]]$sourcedata

)



For ($loop=1; $loop –le $length; $loop++) {

            $TempPassword+=($sourcedata | GET-RANDOM)

            }

return $TempPassword

}

$Raghu = GET-Temppassword –length 3 –sourcedata $Ragx


Write-host "P@SS$($RAGHU)"

Git

1 git add ↳ It lets you add changes from the working directory into the staging area 2 git commit ↳ It lets you save a snapshot of currently...