Windows 10: I need help with a powershell script that was run on my windows 10 PC

Discus and support I need help with a powershell script that was run on my windows 10 PC in Windows 10 Customization to solve the problem; the short answer is that I am involved in a prank war and the other side has stepped over the line by running a PS script on my pc. It looks like they... Discussion in 'Windows 10 Customization' started by OCDGirl, Mar 28, 2025.

  1. OCDGirl Win User

    I need help with a powershell script that was run on my windows 10 PC


    the short answer is that I am involved in a prank war and the other side has stepped over the line by running a PS script on my pc. It looks like they RDC into my pc and ran some PS scriptsI have renamed the dir with the files and deleted the user account but the windows media player is still being opened.Here is the scriptsFriday.ps1Add-Type -AssemblyName presentationCore $filepath = [uri] "c:\Intel\Friday.mp3" $wmplayer = New-Object System.Windows.Media.MediaPlayer $wmplayer.Open$filepath Start-Sleep 2 # This a

    :)
     
    OCDGirl, Mar 28, 2025
    #1

  2. Powershell scripts not running on windows 10

    I have powershell scripts already created. I used to be able to run them on my previous pc which had windows 7 but now I am using a pc with windows 10 and I am unable to run the same scripts on windows 10 environment.

    Please help
     
    Mzwandile Ngubane, Mar 28, 2025
    #2
  3. Studynxx Win User
    Powershell / Batch scripts do NOT run!

    Please help me. I have written some powershell and batch scripts, yet when I run those files, they don't run. At most the powershell script just does step #1 but not all the other steps (lines of code / instructions). The batch script .bat file doesn't do anything. Both just pop up for like 2 seconds and then they disappear, Task Manager says nothing's being done.
     
    Studynxx, Mar 28, 2025
    #3
  4. I need help with a powershell script that was run on my windows 10 PC

    PowerShell script run - Cmdlets

    Greetings - in the last month my role (support for Microsoft) has begun running database searches using PowerShell ISE - the procedure and software I was given by Microsoft to follow specified PowerShell ISE, not PowerShell. The first week or so the searches
    seemed to run fine and I got good results returned. Then the searches stopped successfully executing. I got various error messages, or just illogical results, and so I tried reinstalling PowerShell a couple of times, with no success. On Friday 8/12 I upgraded
    to Win10 Anniversary Ed. I still can't successfully run a PowerShell ISE search request. So, I'm hoping the Forum can help:

    1. When I Run a request I get this pop-up: "Run only scripts that you trust. While scripts from the internet can be useful, this script can potentially harm your computer. If you trust this script, use the Unbock-File cmdlet to allow the script to run without
    this warning message. Do you want to run ...". I then get 3 options 1) Do not run, 2) Run Once, 3) Suspend.

    My understanding is that the "Unbock-File cmdlet" is a single-feature command that manipulates objects in Windows PowerShell. Where should I insert the "Unbock-File cmdlet" ? I trust the script because it was provided to me by Microsoft.

    2. I've been selecting option 2) Run Once. The script will then run for a while, and then I get this error message "[Expression Error] The import Cosmos.Document matches no exports. Did you miss a module reference?"

    How do resolve this issue? Reinstalling PowerShell has not seemed to help.

    Any help much appreciated!
     
    Jacqui Schultz, Mar 28, 2025
    #4
Thema:

I need help with a powershell script that was run on my windows 10 PC

Loading...
  1. I need help with a powershell script that was run on my windows 10 PC - Similar Threads - need help powershell

  2. I need help with a powershell script that was run on my windows 10 PC

    in Windows 10 Gaming
    I need help with a powershell script that was run on my windows 10 PC: the short answer is that I am involved in a prank war and the other side has stepped over the line by running a PS script on my pc. It looks like they RDC into my pc and ran some PS scriptsI have renamed the dir with the files and deleted the user account but the windows...
  3. I need help with a powershell script that was run on my windows 10 PC

    in Windows 10 Software and Apps
    I need help with a powershell script that was run on my windows 10 PC: the short answer is that I am involved in a prank war and the other side has stepped over the line by running a PS script on my pc. It looks like they RDC into my pc and ran some PS scriptsI have renamed the dir with the files and deleted the user account but the windows...
  4. PowerShell script help

    in Windows 10 Gaming
    PowerShell script help: Hello,I am trying to use PowerShell to edit similar file names examples below. no_25!2-2_FORSE_COMP.prnno_25!2-4_FORSE_COMP.prnno_25!2-9_FORSE_COMP.prnno_30!10-5_FORSE_COMP.prngb_10!01-_5_FORSE_COMP.prnno_30!11-3_FORSE_COMP.prnI need all the writing in upper case, the '!'...
  5. PowerShell script help

    in Windows 10 Software and Apps
    PowerShell script help: Hello,I am trying to use PowerShell to edit similar file names examples below. no_25!2-2_FORSE_COMP.prnno_25!2-4_FORSE_COMP.prnno_25!2-9_FORSE_COMP.prnno_30!10-5_FORSE_COMP.prngb_10!01-_5_FORSE_COMP.prnno_30!11-3_FORSE_COMP.prnI need all the writing in upper case, the '!'...
  6. PowerShell script help

    in Windows 10 Network and Sharing
    PowerShell script help: Hello,I am trying to use PowerShell to edit similar file names examples below. no_25!2-2_FORSE_COMP.prnno_25!2-4_FORSE_COMP.prnno_25!2-9_FORSE_COMP.prnno_30!10-5_FORSE_COMP.prngb_10!01-_5_FORSE_COMP.prnno_30!11-3_FORSE_COMP.prnI need all the writing in upper case, the '!'...
  7. Run desktop script in PowerShell

    in Windows 10 Network and Sharing
    Run desktop script in PowerShell: I have a script on my desktop that I need to run in PowerShell; how do I do that? https://answers.microsoft.com/en-us/windows/forum/all/run-desktop-script-in-powershell/666a7726-8cbd-42c7-ac2c-419229432252
  8. Run desktop script in PowerShell

    in Windows 10 Gaming
    Run desktop script in PowerShell: I have a script on my desktop that I need to run in PowerShell; how do I do that? https://answers.microsoft.com/en-us/windows/forum/all/run-desktop-script-in-powershell/666a7726-8cbd-42c7-ac2c-419229432252
  9. Run desktop script in PowerShell

    in Windows 10 Software and Apps
    Run desktop script in PowerShell: I have a script on my desktop that I need to run in PowerShell; how do I do that? https://answers.microsoft.com/en-us/windows/forum/all/run-desktop-script-in-powershell/666a7726-8cbd-42c7-ac2c-419229432252
  10. Run PowerShell Script As An Administrator

    in Windows 10 Support
    Run PowerShell Script As An Administrator: Hi. So I've been searching online on a way to do this yet I cannot find a way to do it. _______________________________________ I need this in specific: I want to double click a PowerShell script file (which will run as an administrator) from Windows Explorer that has...