Link to home
Start Free TrialLog in
Avatar of SAM2009
SAM2009Flag for Canada

asked on

How can I run a vbs script to all members servers in a domain?

How can I run a vbs script to all members servers in a domain?
Avatar of Shaun Vermaak
Shaun Vermaak
Flag of Australia image

  1. Create a GPO
  2. Add VBS as startup script
  3. Add a WMI filter to GPO

WMI filter for member servers
SELECT * FROM Win32_OperatingSystem WHERE ProductType = 2 OR ProductType = 3

Open in new window

Avatar of SAM2009

ASKER

Sorry im not familiar with gpo coul explain how?
Avatar of SAM2009

ASKER

And servers are running so i need to force the vbs to run right now.
SOLUTION
Avatar of Shaun Vermaak
Shaun Vermaak
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Can you share VBS?
Avatar of SAM2009

ASKER

No I'm sorry I can't share the code in the forum. But it does not matter the purpose is to see how we can run a vbs script on all members servers without rebooting them.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of SAM2009

ASKER

Thanks!