Comments (1)
I assume with outdated you mean you are missing something you would like to deploy. The images themselves are not outdated, we request the latest published version. You can try this yourself using Get-LabAzureAvailableSku -LocationName westeurope
.
The cache for Azure image versions is invalidated after seven days, which I maintain is a sensible value - even if it is very low compared to the update cadence of the images.
This is the code we use to for example retrieve all Windows Server offers that are later referenced in Get-LabAvailableOperatingSystem -Azure.
$publishers |
Where-Object PublisherName -eq 'MicrosoftWindowsServer' |
Get-AzVMImageOffer |
Get-AzVMImageSku |
Get-AzVMImage |
Group-Object -Property Skus, Offer |
ForEach-Object { $_.Group | Sort-Object -Property PublishedDate -Descending | Select-Object -First 1 }
from automatedlab.
Related Issues (20)
- [New Feature]: System Drive Cleanup HOT 2
- [Bug]: VMConnect config file creation fails under SYSTEM HOT 1
- [Bug]: Cannot validate argument on parameter 'ParentPath' HOT 6
- [Bug]: Cannot Install Windows 11 Enterprise with AutomatedLab HOT 10
- [New Feature]: Disable VM Time Synchronization HOT 2
- Release Process Documentation
- [Bug]: Unknown error in 'Stop-LabVM'. Cannot call 'Stop-LabVM2' HOT 1
- [Bug]: -InstallationUserCredential mixed up in New-LabPSSession HOT 8
- [Bug]: Exchange task 'Exchange PrepareSchema' failed on 'E1Ex1' HOT 6
- [Bug]: Cannot reuse NetworkAdapter Objects HOT 2
- Add Windows Server 2025 Product Key HOT 6
- [Bug]: WARNING: (x,y): warning CS0168: The variable 'e' is declared but never used
- [Bug]: Can not install a secondary DC (role = DC) HOT 2
- [Bug]: Error configuring SSRS with SQL Server 2022
- [Bug]: When removing an Azure lab, 'Get-VMSwitch' is not recognized as a name of a cmdlet, function...
- [Bug]: Azure Windows 11 Deployment Gen2 VM
- Possible to move Lab? HOT 1
- [Bug]: New-WinUserLanguageList bug HOT 1
- [Bug]: Failed to setup the lab with scenarios "Multi-AD Forest with Trusts"
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from automatedlab.