Free for PREMIUM members
[Last Call] Learn how to a build a cloud-first strategyRegister Now
If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.
strUser = InputBox("User: ")
strComputer = InputBox("Check on server: ")
WScript.Echo "Looking if " & strUser & " is running any services on " & strComputer
Set objWMIService = GetObject _
("winmgmts:\\" & strComputer & "\root\cimv2")
Set colServices = objWMIService.ExecQuery _
("Select * From Win32_Service Where StartName = '"& strUser &"'")
For Each objService in colServices
Open in new window
If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.