Forum Discussion
Sumitsk
May 06, 2022Copper Contributor
PowerShell script is triggering the AD alert when executing on any local server. as user or computer
Hello All, I have PowerShell script which generates the data from each local server. This script tested and its working fine but the challenge is it trigger the alert on AD server as "user of co...
May 06, 2022
The get-local user/group cmdlet is only for servers, computers locally or joined to an Active Directory domain. The cmdlet doesn't work on a Active Directory Domain Controller because it has no local users/groups but Active Directory users and groups. (You should use get-aduser / get-adgroup for that)