How to Install Windows Update Remotely Using PowerShell

This article shows how to remotely install Windows Update using PowerShell. I will explain how to install the PSWindowsUpdate Module, and create a Windows Update task using the Invoke-WUJob cmdlet. Install PSWindowsUpdate Module Remotely PSWindowsUpdate is a PowerShell module to provide cmdlets to manage Windows Update. In addition to the PS Module, in case the …

How to Install Windows Update Remotely Using PowerShell Read More »

How to Build an Installer with WiX Toolset Command line

This article shows how to harvest WiX files, compile WiX sources, and link to create a WiX Installer with WiX Toolset Command-line without using Visual Studio. Heat.exe is used to harvest files for a directory, candle.exe compiles Wix source files, and light.exe creates an output package installer. Install Wix Build Tool First download WiX Toolset …

How to Build an Installer with WiX Toolset Command line Read More »

How to Get Return Code from Start-Process MSIEXEC In PowerShell

This article shows how to get Return Code from Start-Process running MSIEXEC in PowerShell. Wait and PassThru parameters will be used together so as to get correct MSI error codes from the Start-Process. You can also use the Wait-Process cmdlet when installer logic contains many complicated steps and you want to monitor installation with a …

How to Get Return Code from Start-Process MSIEXEC In PowerShell Read More »