Skip to content
This repository has been archived by the owner on Feb 28, 2021. It is now read-only.

Feature/build number #61

Open
wants to merge 3 commits into
base: development
Choose a base branch
from

Conversation

dkattan
Copy link

@dkattan dkattan commented Jan 7, 2020

Description

This code allows Get-LatestCumulativeUpdate to accept a Build parameter

Related Issue

#60

  • This removes the need to maintain a Version to BuildNumber mapping in LatestUpdate.json, reducing required maintenance on this module

#60

Motivation and Context

You can now do this:

$Build = [System.Environment]::OSVersion.Version.Build
Get-LatestCumulativeUpdate -Build $Build

How Has This Been Tested?

  • Passed Invoke-LocalTest.ps1
  • PowerShell 5.1 on Windows 10 1903
  • Ensure all tests in the tests folder have been run in your test environment before completing the pull request

Screenshots (if appropriate):

Types of changes

What types of changes does your code introduce? Put an x in all the boxes that apply:

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

Go over all the following points, and put an x in all the boxes that apply. If you're unsure about any of these, don't hesitate to ask. We're here to help!

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have updated the CHANGELOG file accordingly for the version that this merge modifies.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

aaronparker and others added 3 commits August 27, 2019 19:31
…moves the need to update this module for each feature update. Consolidated -Previous logic and removed updates from results that don't match the specified Windows10 version
@obi-juan-syn
Copy link

nice

@aaronparker aaronparker changed the base branch from master to development January 23, 2020 10:41
@aaronparker aaronparker self-assigned this Jan 23, 2020
@dkattan
Copy link
Author

dkattan commented Apr 22, 2020

Is there something you’d like to see me add so we can get this merged in?

@aaronparker
Copy link
Owner

The module is in a broken state right now, so trying to fix that first.

@dkattan
Copy link
Author

dkattan commented Aug 31, 2020

So uhhhh, sup?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants