Jump to content

Pcyber

Members
  • Posts

    3
  • Joined

  • Last visited

Posts posted by Pcyber

  1. Hi, I'm trying to install service pack for Windows from PS. For example I created a task:

    powershell -command "& {(New-Object System.Net.WebClient).DownloadFile('hxxp://download.windowsupdate.com/msdownload/update/software/svpk/2011/02/windows6.1-kb976932-x86_c3516bc5c9e69fee6d9ac4f981f5b95977a8a2fa.exe', '%temp%\windows6.1-kb976932-x86_c3516bc5c9e69fee6d9ac4f981f5b95977a8a2fa.exe');(Start-process -ArgumentList '%temp%\windows6.1-kb976932-x86_c3516bc5c9e69fee6d9ac4f981f5b95977a8a2fa.exe -NoNewWindow')}" >c:\SP1.log

     

    It's Downloaded it, but SP1.log is empty and SP1 not installed.

    Any idea?

     

    Thanks

  2. In the future versions I will be can take a GPresult of client/server, for example exporting log collector?

    I created a task with the follow string 


    powershell -command Get-GPOReport -All -Domain DomainName -Server HostName -ReportType HTML -Path C:\kits\GPOReportsAll.html

     

    but I can't take the file.
    Thanks

×
×
  • Create New...