Windows 10: i accidentally ran a powershell code COde is: powershell -NoProfile -Command "mshta...

Discus and support i accidentally ran a powershell code COde is: powershell -NoProfile -Command "mshta... in Windows 10 Software and Apps to solve the problem; if there is malicious viruses etc please inform me on how to remove... Discussion in 'Windows 10 Software and Apps' started by Evoe De Leon, Feb 1, 2025.

  1. i accidentally ran a powershell code COde is: powershell -NoProfile -Command "mshta...


    if there is malicious viruses etc please inform me on how to remove

    :)
     
    Evoe De Leon, Feb 1, 2025
    #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, Feb 1, 2025
    #2
  3. Kursah Win User
    PowerShell instead of Commandline in Creators Update

    PowerShell can process many CLI commands but does have its own syntax as you are finding.

    I use it a lot at a management level for carious workstation and sever tasks. Pretty much anything Windows does in the GUI is a powershell command.

    I recommend you look up some info on Google and also look into the book, Learn PowerShell in 30-days Worth of Lunches. That'll give you a great start to properly using and understanding PowerShell. Its extremely powerful and useful...the caveat is learning it and understanding what it wants.

    You should be able to set it back to CLI in personalization settings if you don't want to learn it. CLI is still food enough for most folks...not sure why they felt the need to do that...ironically I have my menus set to display PowerShell instead of CLI.

    http://m.windowsitpro.com/windows-10/pro-tip-replace-command-prompt-powershell-windows-x-menu
     
    Kursah, Feb 1, 2025
    #3
  4. Nobody99 Win User

    i accidentally ran a powershell code COde is: powershell -NoProfile -Command "mshta...

    Nobody99, Feb 1, 2025
    #4
Thema:

i accidentally ran a powershell code COde is: powershell -NoProfile -Command "mshta...

Loading...
  1. i accidentally ran a powershell code COde is: powershell -NoProfile -Command "mshta... - Similar Threads - accidentally ran powershell

  2. I ran a command in powershell from a cloudflare page but I have no idea what it did : mshta...

    in Windows 10 Gaming
    I ran a command in powershell from a cloudflare page but I have no idea what it did : mshta...: Most likely a malware from a fake page, but I have no way to test Let me know if there is a way to remove said malware and such https://answers.microsoft.com/en-us/windows/forum/all/i-ran-a-command-in-powershell-from-a-cloudflare/948a6555-52a1-43fc-99fc-d1359eddfb4b
  3. I ran a command in powershell from a cloudflare page but I have no idea what it did : mshta...

    in Windows 10 Software and Apps
    I ran a command in powershell from a cloudflare page but I have no idea what it did : mshta...: Most likely a malware from a fake page, but I have no way to test Let me know if there is a way to remove said malware and such https://answers.microsoft.com/en-us/windows/forum/all/i-ran-a-command-in-powershell-from-a-cloudflare/948a6555-52a1-43fc-99fc-d1359eddfb4b
  4. I ran a command in powershell from a cloudflare page but I have no idea what it did : mshta...

    in AntiVirus, Firewalls and System Security
    I ran a command in powershell from a cloudflare page but I have no idea what it did : mshta...: Most likely a malware from a fake page, but I have no way to test Let me know if there is a way to remove said malware and such https://answers.microsoft.com/en-us/windows/forum/all/i-ran-a-command-in-powershell-from-a-cloudflare/948a6555-52a1-43fc-99fc-d1359eddfb4b
  5. i accidentally ran a powershell code COde is: powershell -NoProfile -Command "mshta...

    in Windows 10 Gaming
    i accidentally ran a powershell code COde is: powershell -NoProfile -Command "mshta...: if there is malicious viruses etc please inform me on how to remove https://answers.microsoft.com/en-us/windows/forum/all/i-accidentally-ran-a-powershell-code-code-is/e24d7e47-ea89-4494-8901-2ed903b75974
  6. Powershell command

    in Windows 10 Software and Apps
    Powershell command: Hi How can i get a list via powershell commandof expired users password in AD like this screenshot.Thanks https://answers.microsoft.com/en-us/windows/forum/all/powershell-command/54833831-89ba-4641-a5b2-2d55e848aab8
  7. Powershell command

    in Windows 10 Customization
    Powershell command: Hi How can i get a list via powershell commandof expired users password in AD like this screenshot.Thanks https://answers.microsoft.com/en-us/windows/forum/all/powershell-command/54833831-89ba-4641-a5b2-2d55e848aab8
  8. Powershell command

    in Windows 10 Gaming
    Powershell command: Hi How can i get a list via powershell commandof expired users password in AD like this screenshot.Thanks https://answers.microsoft.com/en-us/windows/forum/all/powershell-command/54833831-89ba-4641-a5b2-2d55e848aab8
  9. Windows powershell code failing

    in Windows 10 BSOD Crashes and Debugging
    Windows powershell code failing: Repair-WindowsImage : The restore operation failed. Either the repair source was not found or the component store cannot be repaired. At line:1 char:1 + Repair-WindowsImage -Online -RestoreHealth + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: :...
  10. powershell commands

    in Windows 10 Software and Apps
    powershell commands: I would like a PowerShell ISE command to open a .flac file at a certain time https://answers.microsoft.com/en-us/windows/forum/all/powershell-commands/ea3b6d02-cddd-419d-9ba5-a18f14e67ba5