chore: Update generated dev docs (#4301)

This commit is contained in:
Chris Titus
2026-04-02 15:17:58 -05:00
committed by GitHub
parent e0118aabe5
commit 838b0c1a1b
19 changed files with 45 additions and 18 deletions

View File

@@ -0,0 +1,27 @@
---
title: "Configure NTP Server"
description: ""
---
```powershell {filename="functions/public/Invoke-WPFFixesNTPPool.ps1",linenos=inline,linenostart=1}
function Invoke-WPFFixesNTPPool {
<#
.SYNOPSIS
Configures Windows to use pool.ntp.org for NTP synchronization
.DESCRIPTION
Replaces the default Windows NTP server (time.windows.com) with
pool.ntp.org for improved time synchronization accuracy and reliability.
#>
Start-Service w32time
w32tm /config /update /manualpeerlist:"pool.ntp.org,0x8" /syncfromflags:MANUAL
Restart-Service w32time
w32tm /resync
Write-Host "================================="
Write-Host "-- NTP Configuration Complete ---"
Write-Host "================================="
}
```