Archive

Archive for January, 2019

[CMD] Add persistent route

January 25, 2019 No comments

show ipv4 route
netsh interface ipv4 show route

id idx (interface)
route print

add persistent route, bind to interface
route -p add mask 255.255.255.0 192.168.1.170 if

registry key
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip \Parameters\PersistentRoutes

Categories: Uncategorized Tags:

[PS] Hash Map

January 16, 2019 No comments

Exploring Hashmaps in Powershell

 

Categories: Powershell Tags:

[XLS]Check if one column value exists in another column using MATCH

 

Categories: Excel Tags:

[TIP] Trouble shooting port 25 smtp in LINUX

January 11, 2019 No comments

Troubleshooting Linux e-mail issues.

netstat :

netstat -a | more
shows all listening ports of tcp and udp connections

netstat -at
shows all listening ports connected

netstat -plnt | grep ‘:25’
ss :

ss -lntu | grep ‘:25’
nmap :

nmap -sT -O localhost | grep 25
lsof:

lsof -i:25

telnet myserver.com 25

Categories: Uncategorized Tags:

[PS] Get Mailbox Size and Item Count

January 7, 2019 No comments

 

 

Categories: Exchange, Powershell Tags: