netstat -abn
or
netstat -a -n -p tcp -o
netstat -abn
or
netstat -a -n -p tcp -o
Backup all GPOs
Backup-Gpo -All -Path "\\Server1\GpoBackups"
Restore all GPOs
Restore-GPO -All -Domain "contoso.com" -Path "\\Server1\Backups"
smtp.office365.com:587
starttls
auth
mpro-mp-br.mail.protection.outlook.com:25
no auth
smtp-mail.outlook.com:587
tls
auth
Oracle linux 8
Install Zabbix repository
rpm -Uvh https://repo.zabbix.com/zabbix/7.0/oracle/8/x86_64/zabbix-release-latest-7.0.el8.noarch.rpm
dnf clean all
Install Zabbix agent 2
dnf install zabbix-agent2
Remove zabbix agent
dnf remove zabbix-agent
routes:
- to: default
via: 192.168.10.1
example:
network:
version: 2
renderer: networkd
ethernets:
eno1:
dhcp4: false
dhcp6: false
addresses:
- 192.168.10.10/24
routes:
- to: default
via: 192.168.10.1
nameservers:
addresses: [192.168.10.1]
Fix permissions:
chmod 600 /etc/netplan/your_config_file.yaml
sudo apt install ldap-utils
ldapsearch -x -H ldap://ldap-server-hostname_or_IP -D "cn=username,ou=users,dc=example,dc=com" -W -b "dc=example,dc=com"
netstat -abn or netstat -a -n -p tcp -o