Newbie here…
I have a computer in one domain that I am authenticating to (because we were acquired recently and pc changed), but our primary network is our old domain, and I want to run powershell commands against our “old domain” How can I authenticate, login, or run commands on the “old domain” from my “new” computer with a different domain.
For example… my computer is domain x, and logging in with an account from domain x.
but I want to access powershell commands all on domain y , with a different AD account that belongs to domain y.
Thanks so much!!
Here’s an output of the error:
Get-Service : Cannot open Service Control Manager on computer ‘xyz’. This operation might require other privileges
At line:1 char:1
- Get-Service -ComputerName xyz
-
+ CategoryInfo : NotSpecified: (:) [Get-Service], InvalidOperationException + FullyQualifiedErrorId : System.InvalidOperationException,Microsoft.PowerShell.Commands.GetServiceCommand