GPO Filter WMI on the computer name a user log on
hello !
first sorry bad english french ...
... want use wmi query wmi filter in windows gpo
query should tel me if string include in computer name user log on
example if "user1" log on computer "pc-rh", i want know if computer (again "user1" log on) had name including string "rh" (here exemple case cause computer name "pc-rh")
can use wmi request in wmi filter link on gpo ...
answers !!!
hi,
thanks post.
add wmi query, select name win32_computersystem name “%rh%” select computers named “rh”. return name computer , if name contains “rh” return name , group policy applied, if not nothing happens , group policy skipped.
in addition, below article maybe helpful you:
http://powershell.org/wp/forums/topic/using-user-name-to-get-computer-name/
please note: since web site not hosted microsoft, link may change without notice. microsoft not guarantee accuracy of information.
best regards,
alvin wang
please remember mark replies answers if , un-mark them if provide no help. if have feedback technet subscriber support, contact tnmff@microsoft.com.
Windows Server > Group Policy
Comments
Post a Comment