Cross domain validation of credentials using powershell script when using invoke-command on remote server


hello

there situation in remote server has single logon credentials shared multiple users

multiple users can invoke-command scriptfile.ps1 on server

server needs to validate user credentials before executing .ps1 , log user has invoked command

now there server in xyz.abc.com , if i pass credentials invoke-command cmldet user machine in ghf.abc.com,

my user credentials domain ghf.abc.com how validate on server in xyz.abc.com

i can validate on client machine fact server needs validate credentials

hi,

it seems both domain within same forest, default there 2 way trust between them. know errors when run script against on xyz.abc.com?

i suggest add users in global group, , add global group domain loacl group of xyz.abc.com.

regards,

yan li


yan li

technet community support



Windows Server  >  Windows PowerShell



Comments

Popular posts from this blog

Error: 0x80073701 when trying to add Print Services Role in Windows 2012 Standard

Disconnecting from a Windows Server 2012 R2 file sharing session on a Windows 7,8,10 machine

Event ID 64,77,1008 Certificates Events Windows Server 2008, 2008R2