FriendsOfMDT / PSD

PowerShell Deployment
MIT License
471 stars 72 forks source link

PSDStart.ps1 - Execution Order of Get-PSDConnection & NTP Time Sync #159

Open jetski28 opened 6 days ago

jetski28 commented 6 days ago

Continuing on from my other issue over here https://github.com/FriendsOfMDT/PSD/issues/158

PSDStart.ps1 - Get-PSDConnection (Line 599) fails if computer time is incorrect for HTTPS connections. The NTP Time sync which is called directly after Get-PSDConnection to solve this issue never runs. Get-PSDConnection needs to be excuted after the NTP Time sync and not before.