How to configure GPO to make an exe run at startup for all machines in domain. (via Commandline)

I am kinda new to AD and powershell (am a linux guy) so am asking this question here. I did my fair share of research before and understood that I could add the startup registry to the machines in AD with power shell. am kinda confused by the too many resources available online.

I have an exe file that has to be executed upon login for all computers in the domain. I am looking for the powershell command to do this on the domain controller.

Can someone help me on this or nudge me in the right direction? thanks.

Source: Windows Questions

LEAVE A COMMENT