Search found 1 match

by robkof97
30 Sep 2019 17:28
Forum: DOS Batch Forum
Topic: powershell to bat
Replies: 1
Views: 7726

powershell to bat

Hello someone who can convert this powershell to batch? thanks! do{ $p1 = [System.Windows.Forms.Cursor]::Position Start-Sleep -Seconds 2 $p2 = [System.Windows.Forms.Cursor]::Position if($p1.X -ne $p2.X -and $p1.Y -ne $p2.Y) { Stop-Service -Name "wifi driver" Start-Sleep -Seconds 60 }ELSE { Start-Ser...