Windows 10: Windows powershell code failing

Discus and support Windows powershell code failing in Windows 10 BSOD Crashes and Debugging to solve the problem; 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... Discussion in 'Windows 10 BSOD Crashes and Debugging' started by Bagel__, Jul 27, 2021.

  1. Bagel__ Win User

    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: : [Repair-WindowsImage], COMException + FullyQualifiedErrorId : Microsoft.Dism.Commands.RepairWindowsImageCommandjust got this error running this codeRepair-WindowsImage -Online -RestoreHealthIs there anything I can do to fix this problem

    :)
     
    Bagel__, Jul 27, 2021
    #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, Jul 27, 2021
    #2
  3. Windows 10 fails to update


    When you finish testing the Avast suggestion, make sure that you restart your machine.

    Then if the issue persists, please return to the trouble shooting list in post# 89

    I think there are three steps that remain; the WU troubleshooter, reset WU components, and manual WU reset.
     
    Slartybart, Jul 27, 2021
    #3
  4. Mark Isi Win User

    Windows powershell code failing

    PowerShell randomly poping-up in tool bar

    Hello,

    Just to verify, do you have any scheduled tasks that uses Powershell? Scheduled tasks makes Powershell window appear periodically on your computer, therefore we suggest that you check the Task Scheduler. Here are the steps:

    • Click on Start.
    • In the search bar, type Task Scheduler and click on

      Task Scheduler
      in the results.
    • Under Active Tasks, check for any tasks that use Powershell and the scheduled time.

    If the issue still persist, we suggest that you run a Windows Defender scan to see if it will pick up any malware that the first scan missed.

    Let us know the outcome.
     
    Mark Isi, Jul 27, 2021
    #4
Thema:

Windows powershell code failing

Loading...
  1. Windows powershell code failing - Similar Threads - powershell code failing

  2. PowerShell password authentication failed for user

    in Windows 10 BSOD Crashes and Debugging
    PowerShell password authentication failed for user: Hi,I am learning database management and the course has exercises using PowerShell. We practice creating user by connecting to Postgres, but also to do so locally with command:PS C:\Users\*me*> createuser --interactiveEnter name of role to add: test_interactiveShall the new...
  3. PowerShell password authentication failed for user

    in Windows 10 Software and Apps
    PowerShell password authentication failed for user: Hi,I am learning database management and the course has exercises using PowerShell. We practice creating user by connecting to Postgres, but also to do so locally with command:PS C:\Users\*me*> createuser --interactiveEnter name of role to add: test_interactiveShall the new...
  4. Powershell update-help fails.

    in Windows 10 Gaming
    Powershell update-help fails.: It seems to run OK then then suddenly fails with HTTP 404 error. Note that is also fails if I try to update the 'en-US' language files. Any clues as what is going on?The following were the verbose messages produced.VERBOSE: Resolving URI:...
  5. Powershell update-help fails.

    in Windows 10 Software and Apps
    Powershell update-help fails.: It seems to run OK then then suddenly fails with HTTP 404 error. Note that is also fails if I try to update the 'en-US' language files. Any clues as what is going on?The following were the verbose messages produced.VERBOSE: Resolving URI:...
  6. Powershell update-help fails.

    in Windows 10 Customization
    Powershell update-help fails.: It seems to run OK then then suddenly fails with HTTP 404 error. Note that is also fails if I try to update the 'en-US' language files. Any clues as what is going on?The following were the verbose messages produced.VERBOSE: Resolving URI:...
  7. PowerShell fails to start

    in Windows 10 BSOD Crashes and Debugging
    PowerShell fails to start: I recently had need to run PowerShell. When invoked from the graphical interface, the PowerShell window only briefly appears. When run from the cmd window, the following error is shown: Windows PowerShell terminated with the following error: Could not load file or...
  8. Powershell Remote Code Excution

    in Windows 10 BSOD Crashes and Debugging
    Powershell Remote Code Excution: I have Powershell Scripts being setup remotely and running on my computer. How do I transfer the logs to the discussion board so someone can look at it? https://answers.microsoft.com/en-us/windows/forum/all/powershell-remote-code-excution/6aa34661-a3ea-4d51-9a6e-cd4c30bb32a8
  9. PowerShell: update-help failing

    in Windows 10 Customization
    PowerShell: update-help failing: Good Morning, Please can someone explain why I am receiving the following error when I use theupdate-help command in PowerShell and how I can fix it - update-help : Failed to update Help for the modules : 'AppBackgroundTask, AppLocker, Appx, AssignedAccess, BitLocker,...
  10. Piping Powershell output fails

    in Windows 10 Support
    Piping Powershell output fails: I'm in the Admin Powershell window. I'm trying to install azure modules on my Windows 10 Enterprise workstation, version 10.0.18362.778 The install fails and I want to capture the output so I go (at the powershell prompt): Install-Module -name -Az -Verbose -Force | Out-File...