Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

WMI fILTER GPO on Server Name

0 views
Skip to first unread message

Kimono

unread,
Apr 18, 2006, 11:35:48 PM4/18/06
to
I'm trying to write a WMI filter to apply a GPO object only to server names
starting with specific characters, to capture our exchange servers. Does
anybody have a sample script I can try?

thanks


Ken Aldrich

unread,
Apr 19, 2006, 1:24:21 PM4/19/06
to
Try this link:
http://technet2.microsoft.com/WindowsServer/en/Library/6237b9b2-4a21-425e-8976-2065d28b31471033.mspx

You'll want to filter select * from Win32_ComputerSystem and look specify
the name you're looking for. You should be able to use a wildcard so you
only need one expression. If you do something similar to name = "Exch*"
then it would get all of your exchange servers if the name of your Exchange
servers were something like:
ExchDal01
ExchTor03
ExchAus01
Exchange42

Hope this helps

--
Ken Aldrich
DSRAZOR for Windows
Visual Click Software, Inc.
www.visualclick.com

"Kimono" <kim...@here.net.com> wrote in message
news:OT2JOJ2Y...@TK2MSFTNGP05.phx.gbl...

Kimono

unread,
Apr 20, 2006, 2:24:00 AM4/20/06
to
thanks for the tip. The wildcard doesn't seem to work. When I do

Select * from Win32_ComputerSystem where Name = "EXTEST"


the server named EXTEST picks up the policy. When I do
Select * from Win32_ComputerSystem where Name = "EX*" the server extest
filters out the policy, as seen by gpresult.


Any clues?

"Ken Aldrich" <supp...@visualclick.com> wrote in message
news:%23UXxaY9...@TK2MSFTNGP03.phx.gbl...

0 new messages