Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

Get-WUInstall write Console output in to Logfile

$
0
0

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


Viewing all articles
Browse latest Browse all 15028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>