Evil WinRM
Usefull to “simulate the powershell under linux” / to connect to a WinRM server and have a shell from that (under linux).
evil-winrm -i <server_ip_address> -u <username> -p <password>
If this command failed due to OpenSSL::Digest::DigestError error, just consider applying this patch:
https://github.com/BlackArch/blackarch/issues/3593#issuecomment-1790524568