Fullname of AD account

(imported topic written by SystemAdmin)

Hi All,

How to query for the Fullname of AD user of a certain PC?

Thanks,

Brai

(imported comment written by SystemAdmin)

i found this relevance from other user but its not working.I will use it for an ongoing POC. Thanks,

string values of selects (“Fullname from Win32_account where domain=” & (string values of selects (“Domain from Win32_computersystem”) of WMI) and " name=" & (string values of selects (“username from Win32_computersystem”) of WMI)) of WMI