Windows 10: Please advise re powershell core windows update - something seems broken but I am not sure...

Discus and support Please advise re powershell core windows update - something seems broken but I am not sure... in Windows 10 Software and Apps to solve the problem; I have a powershell script that calls windows update to install updates and then restart the machine. The relevant part of the code is posted below:if... Discussion in 'Windows 10 Software and Apps' started by Andydoc, Dec 5, 2024.

  1. Andydoc Win User

    Please advise re powershell core windows update - something seems broken but I am not sure...


    I have a powershell script that calls windows update to install updates and then restart the machine. The relevant part of the code is posted below:if -not $SkipUpdates { Write-ToLog -Message "Starting Windows Update process in background job..." # Create scriptblock for Windows Updates $updateScriptBlock = { # Import the LogMail module at the start of the job Import-Module "C:\Users\andyd\Desktop\System\LogMail" -Verbose # Windows Update process try { $UpdateSession = New-Object -ComObject Microsoft.Update.Session

    :)
     
    Andydoc, Dec 5, 2024
    #1
Thema:

Please advise re powershell core windows update - something seems broken but I am not sure...

Loading...
  1. Please advise re powershell core windows update - something seems broken but I am not sure... - Similar Threads - Please advise powershell

  2. Please advise re powershell core windows update - something seems broken but I am not sure...

    in Windows 10 Gaming
    Please advise re powershell core windows update - something seems broken but I am not sure...: I have a powershell script that calls windows update to install updates and then restart the machine. The relevant part of the code is posted below:if -not $SkipUpdates { Write-ToLog -Message "Starting Windows Update process in background job..." # Create scriptblock for...
  3. BSOD - please advise

    in Windows 10 Gaming
    BSOD - please advise: Dear Community,Could you please help me with the below BSOD minidumps? What hardware has caused those 2 crashes?Link: https://1drv.ms/u/c/4f84fd252378ac2c/EagKjQZY_QlBuNqtek3GtRYBWOqjcXHM__a9Vu_qY6x73A?e=433V4kMy system: Windows 11 Pro 64 bitsThank you in advance!...
  4. BSOD - please advise

    in Windows 10 Software and Apps
    BSOD - please advise: Dear Community,Could you please help me with the below BSOD minidumps? What hardware has caused those 2 crashes?Link: https://1drv.ms/u/c/4f84fd252378ac2c/EagKjQZY_QlBuNqtek3GtRYBWOqjcXHM__a9Vu_qY6x73A?e=433V4kMy system: Windows 11 Pro 64 bitsThank you in advance!...
  5. is my gpu broken or am i doing something wrong

    in Windows 10 Gaming
    is my gpu broken or am i doing something wrong: so i got a used computer from my cousin a few days ago and the graphics card/drivers gtx 750 has had an error 43, I've uninstalled and reinstalled my drivers through DDU and through normal device manager and Nvidia, when I try to update my drivers it says the update is...
  6. Please advise me before I delete something important

    in Windows 10 Ask Insider
    Please advise me before I delete something important: Hey, so I’ve upgraded several components lately and want to do a clean reinstall of windows. I have 4 drives in my system: C: for the os and general programs (it’s a small ssd so it filled up pretty quick.) D: for overflow programs and documents etc from C: M: for movies and...
  7. Please Advise Me

    in Windows 10 Updates and Activation
    Please Advise Me: Hi, Please advise me , i received Message About activate Win.10, I Have the same p.c. serial No. Same Microsoft Account . So ,what is the problem? Thank you for your reply...
  8. How to replace powershell with powershell core? I just installed powershell core and i want...

    in Windows 10 Ask Insider
    How to replace powershell with powershell core? I just installed powershell core and i want...: [ATTACH] submitted by /u/Rediikid [link] [comments] https://www.reddit.com/r/Windows10/comments/e7p0ey/how_to_replace_powershell_with_powershell_core_i/
  9. Windows Update not able be installed, please advise.

    in Windows 10 Installation and Upgrade
    Windows Update not able be installed, please advise.: On my Windows 10 laptop Microsoft has been trying to do a massive update most of the afternoon and all evening yesterday and tried again this morning (see top image). After some time today it finally quit as it appears it failed to update (2nd. image). The 3rd. image shows...
  10. update outlook mail,,,please advise.

    in Windows 10 Software and Apps
    update outlook mail,,,please advise.: I am having a difficult time updating Outlook mail . New HP Stream Windows 10. I have updated and have the correct password and Ive registered my certificate twice. I still can not receive any new mail since end of Aug. My main concern is,,,,I purchased WordPress Peronal...