Can you confirm you are able to dns resolve chat.freenode.net? Start > Run:
cmd /k nslookup chat.freenode.net
You can also ping chat.freenode.net?
I'm not sure if your firewall can be queried with PowerShell, but are you sure there's no block on mirc.exe?
Get-NetFirewallProfile -Name Private | Get-NetFirewallRule | Where { $_.Action -eq 'Blocked' -and $_.Name -like '*mIRC*' }
Note: You may also run this with -Name Public