Read the current window
The settings live under **HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\Maintenance**. **ActivationBoundary** is the start time in 24-hour form.
Get-ItemProperty 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\Maintenance' |
Select-Object ActivationBoundary,WakeUp,MaintenanceRandomDelay,MaintenanceDisabled