However I do need to do some tasks via MMC for now, but as I'm not a member of the domains I manage (MSP) my laptop needs to use an network runas to elevate and then launch MMC as the domain user...
$domainuser= Read-Host -Prompt 'Enter domain user in the format Domain\Username'
So does anyone know how to take creds and then launch mmc as a remote domain user? Any advice would be awesome!
I'm not currently at a machine with PS so can't test.
Start-Process mmc -ComputerName $FQDN -Credential $DomainUser
You must be logged in to reply to this topic.