Book Image

Microsoft System Center Powershell Essentials

Book Image

Microsoft System Center Powershell Essentials

Overview of this book

Table of Contents (15 chapters)
Microsoft System Center PowerShell Essentials
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
4
Administration of Operations Manager through PowerShell
Index

Software update management


PowerShell provides you cmdlets to get the details of software updates. This section covers cmdlets that we can use to update management activities.

Software catalog details

PowerShell provides you a way to list the software patches available in the Configuration Manager catalog using the Get-CMSoftwareupdate cmdlet. This will list all the updates present in the catalog with the default attributes:

Get-CMSoftwareUpdate

You can also query individual updates with the name of the patch as the attribute to the cmdlet. By specifying the name of the update, you can get complete details of the particular patch or update:

Get-CMSoftwareUpdate –Name "Cumulative Software Update for Internet Explorer"

We can also save the specified software update, which is part of the particular package, to a specified location:

Save-CMSoftwareUpdate –DeploymentPackageName "Finance Updates" –SoftwareUpdateGroupName "Finance Package Updates" –Location "\\SCCMP01\SP"

We can create a software...