FriendsOfMDT / PSD

PowerShell Deployment
MIT License
526 stars 83 forks source link

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

Open jetski28 opened 5 months ago

jetski28 commented 5 months 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.