amphp / dns

Async DNS resolution for PHP based on Amp.
https://amphp.org/dns
MIT License
157 stars 32 forks source link

Replaced WMIC nameserver lookup with PowerShell equivalent #116

Open Bilge opened 8 months ago

Bilge commented 8 months ago

Like #115 except using PowerShell instead of WMIC. Supported OOTB since Windows 8 (Windows 7 shipped with PowerShell v2, which doesn't seem to work with Select-Object; v3 minimum is required).

Advantages

Disadvantages

Recommendation

Don't merge until the latest version of Windows ships without WMIC enabled by default.