Advertisement
Guest User

Untitled

a guest
Dec 13th, 2019
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. do{
  2. $a = Read-Host 'Podaj nazwe procesu: '
  3. if (Get-Process | Where-Object { $_.Name -eq $a}){
  4. Write-host "Znaleziono proces : $a "
  5. }
  6. else{
  7. Write-host "Nie znaleziono procesi : $a "
  8. }
  9.  
  10. $k = Read-Host 'Czy chcesz kontynuowac? t/n'
  11. }while($k -eq "t")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement