Avatar of janhoedt
janhoedt
 asked on

Powershell: starting installed Windows applications via 1 command in Powershell?

Hi,

I logon to my Windows with a user which has no rights in the domain (ADUC etc). However, when I need to run a Powershell or Activey Directory etc, I need to "run as" which is a pita.
Isn't there a way I can enter f.e. ADUC and then launch Active Directory users & computers?

Please advise.
J
PowershellWindows OSActive Directory

Avatar of undefined
Last Comment
footech

8/22/2022 - Mon
footech

Isn't there a way I can enter f.e. ADUC and then launch Active Directory users & computers?
I'm really not sure what you're asking.  ADUC and "Active Directory users & computers" are the same thing.  Enter ADUC where?

Your options really are:
 - using "Run as a different user"
 - logging on to a machine as the user with needed rights.  This could be a special machine accessed via RDP that is only used for administrative tasks (a jump box).
 - for many things in PowerShell there is a credential parameter.
janhoedt

ASKER
no that's not what I m looking for
ASKER CERTIFIED SOLUTION
footech

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy