LogoLogo
OSDeploy.comTwitterPowerShell GalleryGitHub
  • Overview
  • Release Notes
    • 2019 Archive
  • OSDeploy Home
  • Module
    • Install and Update
    • Functions
      • Get-OSDUpdate
      • Get-DownOSDUpdate
      • New-OSDUpdatePackage
      • Update-ModuleOSDUpdate
    • PowerShell Gallery
    • GitHub
  • Docs
    • Basics
      • Scripting with OSDUpdate
      • New OSDUpdate Office Package
      • Update an OSDUpdate Office Package
      • Update Office Setup Media
      • New OSDUpdate Servicing Stack Package
      • New OSDUpdate Windows Package
      • MDT Integration
      • MDT Deployment
      • ConfigMgr Integration and Deployment
    • Archive
      • Microsoft Office Monthly Updates
      • Microsoft Office 2016 Updates
      • Office Deployment and OSDUpdate
      • Microsoft Office MSP Install Script
Powered by GitBook
On this page
  • List all Servicing Stacks
  • Download all Servicing Stacks

Was this helpful?

  1. Docs
  2. Basics

Scripting with OSDUpdate

PreviousBasicsNextNew OSDUpdate Office Package

Last updated 5 years ago

Was this helpful?

If you know how to work with an array, you can easily use OSDUpdate to do some PowerShell scripting. I won't go into everything, but I'll add some basics along the way

List all Servicing Stacks

Get-OSDUpdate | ? {$_.UpdateGroup -eq 'SSU'} | Select CreationDate, Title

Download all Servicing Stacks

Get-OSDUpdate | ? {$_.UpdateGroup -eq 'SSU'} | Get-DownOSDUpdate -DownloadPath C:\Temp\Stacks

Last updated Sun Jun 23 2019 06:27:27 GMT+0000 (UTC)