Hello,
is it possible to initate DSA.msc with multiple credentials when working from a non Domain Admin account? One set of creds to run the process and another to open DSA.msc.
Here is what I have so far:
Start-Process powershell -Credential $cred -ArgumentList '-command &{DSA.msc /DOMAIN="domain.local"','/SERVER="somedc"}'
It does open the snapin as Domain Admin for that DC but only after UAC prompts me for the Same Credentials that I have in the Credential parameter. Its as if its ignoring the credentials I have in the cred file. Please note that I have powershell running as a Domain Admin but for my domain not the DC I am attempting to connect to.
If I run this command for my current domain that I am logged in, it opens the snapin with no other prompts, it just works:
Start-Process powershell -Credential $Currentcred -ArgumentList '-command &{DSA.msc /DOMAIN="mydomain.local"','/SERVER="mydc"}'