

\DefenderUpdateWinImage.ps1 -WorkingDirectory "G:\temp" -Action AddUpdate -ImagePath "E:\sources\install.wim" -Package "C:\Users\username\Downloads\defender-update-kit-圆4\Defender-Dism-圆4.cab" Quick note: If you were updating a virtual machine, you would would only need to adjust the path for the vhd image. This is the cab file available with the update package.For example, this command updates the install.wim image in a USB bootable media.

Finally, replace "PATH\TO\DEFENDER\CAB\UPDATE" with the path to the Microsoft Defender update. Then replace "PATH\TO\INSTALL.WIM" with the path to the image.wim file you want to update. \DefenderUpdateWinImage.ps1 -WorkingDirectory "TEMP-LOCATION" -Action AddUpdate -ImagePath "PATH\TO\INSTALL.WIM" -Package "PATH\TO\DEFENDER\CAB\UPDATE"In the command, replace "TEMP-LOCATION" with the path to a folder that the script will use to process the update.
