Hi all,
I want to use the PS module PSWindowsUpdate Get-WUInstall. The module dose what I need but I cannot generate a Log file. There is no Log file parameter neither worked anything I tried like Out-File.
Here is my last try:
Get-WUInstall -Acceptall -Verbose -IgnoreReboot -IgnoreUserInput | Out-File C:\log\wuinstallPS\wuinstallPS.log -append
Unfortunately the logfile stays empty. Does anyone knows a way to write the Console output in to Logfile??
Thanks,
Ben