How to perform windows update command through PowerShell / CMD using cortex xdr live terminal?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to perform windows update command through PowerShell / CMD using cortex xdr live terminal?

L2 Linker

Hi family , 

I want to update the windows version on some endpoints through command line or powershell script, which i can access by cortex xdr live terminal. 


Is it possible?
Cortex XDR 

2 REPLIES 2

L2 Linker

Hi Prashante

 

You should be able to do so by installing this PSModule through Live Terminal: https://www.powershellgallery.com/packages/PSWindowsUpdate

 

Install-Module PSWindowsUpdate
Get-WindowsUpdate -AcceptAll -Install -AutoReboot

 

Best Regards

L2 Linker

Thanks for the reply. Unfortunately, its not working.  

  • 1228 Views
  • 2 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!