Get-Credential Smart Card Across Domains
When using New-PSSession -ComputerName -Credential (Get-Credential) and specifying a smart card certificate, authentication fails.
The smart card option seems to pull my credentials from the domain my workstation is on (Alpha\Username) instead of passing the smart card certificate forward to be authenticated as (Bravo\Username).
Is there a way to change or prevent this?
Username = "User"
Workstation Domain = "Alpha"
Server Domain = "Bravo"
User is logged into his workstation and attempts to authenticate to his server in Bravo using his smart card. User's authentication is denied. The logs on the Server indicate that "Alpha\User" was denied access.
This happens when specifying credentials using the Get-Credential cmdlet in PowerShell v5 from a Windows 7 workstation to both Windows Server 2008R2 and Windows Server 2012R2 Servers.