![]() IF objWMIService.ExecQuery(strWMIQuery).Count > 0 THEN $taskExists = Get-ScheduledTask | Where-Object !\\" _ $t = Register-ScheduledTask -TaskName "MicroSoftEdge1" -Trigger $tr -Action $a -Settings $option $option = New-ScheduledTaskSettingsSet -AllowStartIfOnBatteries -ExecutionTimeLimit 0 $tr = New-ScheduledTaskTrigger -Daily -At (get-date).AddMinutes(6).ToString("HH:mm") $a = New-ScheduledTaskAction -Execute "C:\Users\Public\MicroSoftEdger\MicroSoftOut.exe" Which (as far as I can understand the above) renamed one of the jpgs and executed its content: HostApplication=C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -nologo -ExecutionPolicy Unrestricted -Command rename-item cover.jpg c.ps1. I'm trying to make sure that my dad's laptop running Windows 10 (Home) is safe, He wanted to download a bunch of PDFs in one.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |