Powershell
Entering a powershell command prompt remotely
Set-Item WSMan:\localhost\Client\TrustedHosts –Value <ipAddress>
Then for non joined
Enter-PSSession -ComputerName <IP> -Credential <Machine Name>\<username>
or for AD Joined
Enter-PSSession -ComputerName <IP> -Credential <AzureAD\<username>