Skip to content

Useful Commands

Terminal window
# Cluster status
pvecm status
pvecm nodes
# Storage
pvesm status
zpool status
zpool list
# VMs
qm list
qm start <vmid>
qm stop <vmid>
qm migrate <vmid> <target-node>
# Replication
pvesr status
# Network
cat /proc/net/bonding/bond0
ethtool nic1
iperf3 -s # Server
iperf3 -c 10.20.20.11 -P 8 # Client
Terminal window
# AD
Get-ADDomain
Get-ADForest
netdom query fsmo
repadmin /replsummary
repadmin /syncall /AdeP
dcdiag /v
# DNS
Get-DnsServerForwarder
Get-DnsServerZone
Resolve-DnsName <hostname>
Clear-DnsClientCache
# DHCP
Get-DhcpServerv4Scope
Get-DhcpServerv4ScopeStatistics
# Network
Get-NetIPAddress
Get-NetAdapter
Test-NetConnection -ComputerName <host> -Port <port>
Terminal window
# CA
certutil -getreg CA
certutil -crl # Publish CRL
Backup-CARoleService -Path "C:\Backup"
# Certificate verification
certutil -verify -urlfetch certificate.cer
certutil -dump certificate.cer | findstr "URL"