Guest User

Untitled

a guest
Feb 6th, 2018
160
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $currentPass = Get-Content .\aaa.txt
  2. Write-Output $currentPass
  3. $newPass1 = Read-Host -Prompt "Dej haslo mam horego admina"
  4.  
  5. while($newPass1 -ne $newPass2)
  6. {
  7.     $newPass2 = Read-Host -Prompt "Dej haslo mam horego admina x2"  
  8. }
  9.  
  10. $newPass1 | Out-File -FilePath .\aaa.txt
  11. Get-Content .\aaa.txt
Advertisement
Add Comment
Please, Sign In to add comment