I've created a GPO that does not point to \FQDN\Netlogon... but I've created a much more generic version of the GPO
I tried with %USERDNSDOMAIN% variable, but at the moment the script runs, it isn't aware of the USERDNS environment variables.
I run it with ..........\scripts\Agent\InstallAgent.ps1
It starts correct, it even installed an agent, but it said it ran as on-demand instead of Group Policy
I've created a GPO that does not point to \FQDN\Netlogon... but I've created a much more generic version of the GPO
I tried with %USERDNSDOMAIN% variable, but at the moment the script runs, it isn't aware of the USERDNS environment variables.
I run it with ..........\scripts\Agent\InstallAgent.ps1
It starts correct, it even installed an agent, but it said it ran as on-demand instead of Group Policy