Repo with getting started projects for the Microsoft Security Updates API (
Switch branches/tags
Nothing to show
Clone or download


Microsoft provides an API for getting security update details using Common Vulnerability Reporting Format. View our blog post for more info.

The Security Updates Guide is a great place to find security updates in a browser, and the Security Updates API is intended for doing automation around Microsoft security updates.

This project contains sample code and documentation for the Microsoft Security Updates API (, including:

Getting the MsrcSecurityUpdates PowerShell Module

Getting started with the MsrcSecurityUpdates module can be done like this:

### Install the module from the PowerShell Gallery
###  !! Requires PowerShell V5
###  !! Install-Module requires admin permission
Install-Module -Name MsrcSecurityUpdates

### Load the module
Import-Module -Name MsrcSecurityUpdates

Once the module is loaded, check out our PowerShell samples

API Keys

The Security Updates API requires an API key. To obtain an API key please visit the Security Updates Guide. For help using the Security Updates Guide please visit the Security Updates Guide Community Forum.

NOTE: Currently generating api keys requires an,, or email address. If you do not have one of these email addresses, you can create a personal outlook account to access this service while we investigate this issue.

Change Log

For up to date major changes, please read the psd1 included in the src folder. This can also be seen on the Microsoft Powershell Gallery.

May 2017 - Added RestartRequired and SubType to the remediations object in the API response.


This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact with any additional questions or comments.

It is Microsoft’s mission to empower every person and every organization on the planet to achieve more. We thank you for helping shape that future by keeping the world a more secure place by tooling security into your organization’s practices. We would love to hear your feedback on features to add or bugs to fix.