LatestUpdate
LatestUpdate copied to clipboard
Feature/build number
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
https://github.com/aaronparker/LatestUpdate/issues/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)
- [x] 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!
- [x] My code follows the code style of this project.
- [x] 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.
nice
Is there something you’d like to see me add so we can get this merged in?
The module is in a broken state right now, so trying to fix that first.
So uhhhh, sup?