Impacket’s wmiexec.py uses the Windows Management Instrumentation (WMI) to give you an interactive shell on the Windows host.
Command Reference:
Target IP: 10.10.10.1
Domain: test.local
Username: test
Password: Welkom01!
python3 wmiexec.py test.local/test:Welkom01!@10.10.10.1