Powershell - SetForegroundWindow
问题 With a powershell code I try to change the position of a window (is works correctly) and put this windows "Always on top". Please find below my code: Import-Module C:/install/WASP/wasp.dll for($i=1; $i -le 300000; $i++) { $allWindow = Select-Window MyCheck* if($allWindow) { foreach ($currentWindow in $allWindow) { $positionWindow = WindowPosition $currentWindow foreach ($currentPosition in $positionWindow) { #if we find the correct windows if ( $currentWindow.title -match "\([0-9]*\)#" ) {