DownloadUpdates.cmd cant download OFC GLB

DownloadUpdates.cmd cant download OFC GLB

Postby Diggity747 » 27.01.2015, 18:31

I am attempting to script the download and install for all of my WIM and VHDX files. Below is the WSUS Offline Update portion of my powershell script:

Code: Select all
Invoke-Command -ScriptBlock {C:\wsusoffline\cmd\DownloadUpdates.cmd w61-x64 glb /includewddefs /nocleanup /verify}
Invoke-Command -ScriptBlock {C:\wsusoffline\cmd\DownloadUpdates.cmd w63-x64 glb /includewddefs /nocleanup /verify}
Invoke-Command -ScriptBlock {C:\wsusoffline1\cmd\DownloadUpdates.cmd o2k10 enu  /nocleanup /verify}
Invoke-Command -ScriptBlock {C:\wsusoffline1\cmd\DownloadUpdates.cmd o2K13 enu  /nocleanup /verify}

CMD Line functionality does not seem to be well documented. First i am looking to find out if this is the proper method calling each product separately or if this can be done with one command. Secondly this does not seem to download OFC GLB updates which are a majority of the updates for office. However there is no GLB language switch. If I run Office 2010 or 2013 ENU from the GUI both ENU and GLB updates are downloaded.

Very awesome product that i'm excited to get a better understanding of, just working to automate my image patching as much as possible. Thanks for any help in advance.
Last edited by harry on 27.01.2015, 21:11, edited 1 time in total.
Reason: typo /veify corrected (/verify)
Diggity747
 

Re: DownloadUpdates.cmd cant download OFC GLB

Postby harry » 27.01.2015, 20:58

Welcome Diggity747!

Please see viewtopic.php?f=7&t=120#p423

Excerpt:
Code: Select all
for %%i in (ofc) do (
  echo Downloading updates for %%i glb...
  call DownloadUpdates.cmd %%i glb /verify
)
for %%i in (oxp o2k3 o2k7) do (
  for %%j in (deu enu) do (
    echo Downloading updates for %%i %%j...
    call DownloadUpdates.cmd %%i %%j /verify
  )
)


So I think you have to change your script to:
Code: Select all
Invoke-Command -ScriptBlock {C:\wsusoffline\cmd\DownloadUpdates.cmd w61-x64 glb /includewddefs /nocleanup /verify}
Invoke-Command -ScriptBlock {C:\wsusoffline\cmd\DownloadUpdates.cmd w63-x64 glb /includewddefs /nocleanup /verify}
Invoke-Command -ScriptBlock {C:\wsusoffline1\cmd\DownloadUpdates.cmd ofc glb  /nocleanup /verify}
Invoke-Command -ScriptBlock {C:\wsusoffline1\cmd\DownloadUpdates.cmd o2k10 enu  /nocleanup /verify}
Invoke-Command -ScriptBlock {C:\wsusoffline1\cmd\DownloadUpdates.cmd o2K13 enu  /nocleanup /verify}
harry
 
Posts: 737
Joined: 29.10.2009, 17:02

Re: DownloadUpdates.cmd cant download OFC GLB

Postby Diggity747 » 27.01.2015, 21:51

Harry thanks for the assistance, this indeed achieved what i was looking for. Great link to further documentation as well. :D
Diggity747
 


Return to Download

Who is online

Users browsing this forum: Google [Bot] and 381 guests