Adding an optional Time Synchronization option in Labconfig to disable time synchronization from Hyper-V host at VM creation
Nobody has claimed this yet.
- Dominant language
- PowerShell
- Stars
- 1.3k
- Forks
- 304
- PR merge metrics
- No merged PRs in 30d
Description
Many times, for some kinds of VMs in labs, we have to disable "Time Synchronization" from Hyper-V host.
e.g. https://github.com/microsoft/MSLab/tree/master/HandsOnLabs/02-DeployingAzureLocal
Get-VM *ALNode* | Disable-VMIntegrationService -Name "Time Synchronization"
The idea would be to add in LanConfig the support of a Time Synchronization option when defining a VM.
This will prevent to answering A or D to the question below at the end of the Deploy.ps1 script execution.
Start VMs
Would you like to start lab virtual machines?
[N] No [A] All [D] Deployed only [?] Help (default is "N"): A
Script finished at 01/05/2026 15:22:28 and took 10.7020954733333 Minutes
Press enter to continue...
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Labconfig VM definition and the VM-starting flow in Deploy.ps1. Trace how the optional setting could control Hyper-V host Time Synchronization at VM creation, and verify that the configured behavior avoids requiring the final Start VMs prompt choices for this case.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- powershell
- Domain
- infrastructure
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100