Combreal

073096.ps1

Feb 26th, 2022 (edited)
173
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #script.cmd dans shell:startup
  2. #powershell -NoProfile -WindowStyle Hidden -file "C:\Temp\073096.ps1
  3.  
  4. #or
  5.  
  6. #$description = "Keeps your Microsoft software up to date. If this task is disabled or stopped, your Microsoft software will not be kept up to date, meaning security vulnerabilities that may arise cannot be fixed and features may not work. This task uninstalls itself when there is no Microsoft software using it."
  7. #$action = New-ScheduledTaskAction -Execute 'Powershell.exe' -Argument '-NoProfile -WindowStyle Hidden -file "C:\Temp\073096.ps1"'
  8. #$trigger = New-ScheduledTaskTrigger -Once -At (Get-Date) -RepetitionInterval (New-TimeSpan -Minutes 1)
  9. #$principal = New-ScheduledTaskPrincipal -UserID "NT AUTHORITY\SYSTEM" -LogonType ServiceAccount -RunLevel Highest
  10. #$settings = New-ScheduledTaskSettingsSet -MultipleInstances Parallel
  11. #Register-ScheduledTask -TaskName "MicrosoftEdgeUpdateTask" -Action $action -Trigger $trigger -Settings $settings -Principal $principal -Description $description
  12. #Start-ScheduledTask -TaskName MicrosoftEdgeUpdateTask
  13. ##Unregister-ScheduledTask -TaskName MicrosoftEdgeUpdateTask -Confirm:$false
  14.  
  15. Add-Type -AssemblyName System.speech
  16. $TextToSpeech = New-Object System.Speech.Synthesis.SpeechSynthesizer
  17. $TextToSpeech.Rate = -3
  18. $TextToSpeech.Speak("Penis")
Add Comment
Please, Sign In to add comment