Re: WQL Query
- From: "garth" <someone@xxxxxx>
- Date: Mon, 20 Mar 2006 10:11:06 -0500
Yes, you can added more subnets as needed, don't forget that you need to add
an "OR" for each new subnet.
"Paul" <Paul@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:04A89A70-115B-46FE-AE27-BEE617983A4F@xxxxxxxxxxxxxxxx
Garth,
Thanks for the info, If I need to scan multiple subnets then I assume you
just add SMS_G_System_NETWORK_ADAPTER_CONFIGURATION.IPAddress like
"x.x.x.%"
for the other subnets?
Regards
Paul
"garth" wrote:
This should do the trick. The text in Red will find all WS with an IP
address that begins with "192.168.1."
select distinct SMS_G_System_COMPUTER_SYSTEM.Name,
SMS_G_System_NETWORK_ADAPTER_CONFIGURATION.IPAddress from SMS_R_System
inner join SMS_G_System_COMPUTER_SYSTEM on
SMS_G_System_COMPUTER_SYSTEM.ResourceID = SMS_R_System.ResourceId inner
join SMS_G_System_NETWORK_ADAPTER_CONFIGURATION on
SMS_G_System_NETWORK_ADAPTER_CONFIGURATION.ResourceID =
SMS_R_System.ResourceId where
SMS_G_System_NETWORK_ADAPTER_CONFIGURATION.IPAddress like "192.168.1.%"
"Paul" <Paul@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:C937A1F1-EE87-4EFC-9F2D-8B77B6448F02@xxxxxxxxxxxxxxxx
Hi
I need some help writing a query. What I need to do is create a
collection
of all machines using specific subnets so I can deploy a application to
them.
Any help worul be great
.
- Prev by Date: SMS Client Push Failed
- Next by Date: Re: SMS Client Push Failed
- Previous by thread: Re: WQL Query
- Next by thread: Re: Client install
- Index(es):
Relevant Pages
|