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 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...
  3. Microsoft Store Install via PowerShell fails

    in Microsoft Windows 10 Store
    Microsoft Store Install via PowerShell fails: I need to reinstall the MS Store. using the PowerShell command I get: Add-AppxPackage : Deployment failed with HRESULT: 0x80073CF0, Package could not be opened. error 0x80070003: Opening file from location: AppxBundleManifest.xml failed with error: The system cannot find...
  4. Visual Studio Code/PowerShell not working

    in Windows 10 Software and Apps
    Visual Studio Code/PowerShell not working: So I have been programming on and off for past couple years, and have decided to work on learning C++ and C# using Microsoft Visual Studio Code not the one that is preinstalled on the computer. When I opened it up and wrote a basic program, I ran the terminal to see an output...
  5. Teach a man to fish (code in PowerShell) and ...

    in Windows 10 Support
    Teach a man to fish (code in PowerShell) and ...: So I posted a thread asking for help with a PS script, and then I realized that it's time for me to actually learn PS. I'm no stranger to scripting. Back in the 1970s, I used to write "procedures" in IBM mainframe JCL. In the 80s, I worked for a UNIX workstation company and...
  6. 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
  7. 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,...
  8. 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...
  9. Outcome of PowerShell code to remove language in Windows10

    in Windows 10 Support
    Outcome of PowerShell code to remove language in Windows10: Hello all, I cannot add any new language under settings, I have no language bar in control panel, and I learned there is a bug in my Windows 10 Pro 1803 version. So after using the command below (with help of Powershell): Code: $LangList = Get-WinUserLanguageList...
  10. Announcing PowerShell for Visual Studio Code 1.0

    in Windows 10 News
    Announcing PowerShell for Visual Studio Code 1.0: Today we are extremely excited to announce that the PowerShell extension for Visual Studio Code has reached version 1.0! We are shipping this update to line up with the PowerShell Core 6.0 Beta.1 release to provide the official PowerShell development experience for all...