(Sometimes IT people want to check and understand how many domain accounts and domain computers have logged into the domain at the moment are connected to the domain controller, just use the information and tool script I provided, and it will prompt you to enter the domain name during execution. , such as: after abc is determined, a text file of LoggedUser.txt can be generated in the directory at that time. Open this file to obtain the number of users who have logged in and connected to the domain environment at that time.
View all logged on domain users and logon computer scripts.vbs
.....too many files to omit.....)