Skip to main content

Posts

Showing posts from January, 2017

Telstra Mobile Call Forwarding dial codes

To enable voicemail: *61*101**30# Divert to 101 when unanswered after 30 seconds *62*101# Divert to 101 when unreachable *67*101# Divert to 101 when busy *21*101# Divert all calls to 101 To disable voicemail: #61# Cancel divert when unanswered #62# Cancel divert when unreachable #67# Cancel divert when busy #002# Cancel all diverts To Check voicemail diversions: *#61# Check divert when unanswered *#62# Check divert when unreachable *#67# Check divert when busy

Maintaining a Permanent VPN connection

From  http://blog.degree.no/2011/10/permanent-vpn-connection-in-windows/ $ip = "some address or ip" $result = gwmi -query "SELECT * FROM Win32_PingStatus WHERE Address = '$ip'" if ($result.StatusCode -eq 0) { Write-Host "$ip is up." } else{ Write-Host "$ip is down." Write-Host "Disconnecting..." rasdial.exe xxxVPN /DISCONNECT Write-Host "Connecting..." rasdial.exe xxxVPN vpnUsername vpnPassword12345 }