Flush DNS Cache for PowerShell and WSL

When using Windows 10+ in combination with WLS(2) (Window Subsystem for Linux), you probably will stumble over some DNS resolution issues. For example: when you’ve changed the A-record for an IP and  you try to ping or dig the targeted domain. If you still get old IPs there, it could be caused by cached DNS […]