Go back to the Forums root page... Go back to our Support main page...

A Message Board, Guestbook, or Poll hosted for your website.
PJ Technologies > Forums > Goverlan Scope Actions v6 > Scope Action - Conditions - Multiple Installed Program query
 
Username:
Password:
 

Thread Tools Search This Thread 
Reply
 
Author Comment
 
NEU_ISD
Registered: 08/12/09
Posts: 1

    08/12/09 at 02:15 PM
#1

In the 'Conditions' tab, I have added the following:


Attribute = Computer Condition.Applications.Installed Programs.Product Information.Product Name
Condition = Contains All(comma separated)
Desired Value = ProgramA, ProgramB


In the 'Scope' tab, we added a single computer name(ProgramA & ProgramB installed), and ran as above but it comes up blank on the report.

If we select:


Attribute = Computer Condition.Applications.Installed Programs.Product Information.Product Name
Condition = '='
Desired Value = ProgramA



OR

 


Attribute = Computer Condition.Applications.Installed Programs.Product Information.Product Name
Condition = '='
Desired Value = ProgramB


Then it generates the report just fine.


We would like to generate a report 'IF both ProgramA & ProgramB is installed' pull up the PC names.

Any help will be appreciated, Thank you!
pbergeot
Avatar / Picture

Moderator
Registered: 09/06/08
Posts: 227

    08/12/09 at 04:40 PM
#2

The first condition:
Condition = Contains All(comma separated)
Desired Value = ProgramA, ProgramB


results in returning all software products which have both ProgramA and ProgramB within their name.

To report on the list of machines which have both ProgramA and ProgramB installed, you need to execute do it in two steps as follows:

First Pass:
  1. Create a new scope action which only reports the computer name and define the condition:
    Attribute = Computer Condition.Applications.Installed Programs.Product Information.Product Name
    Condition = '='
    Desired Value = ProgramA
     
  2. Run the scope action.
This scope results in a list of computers which have ProgramA installed. We now need to create a new scope action which takes this scope action's output as an input.

Second Pass: 
  1. Select the first scope action, right click on the mouse and select: Export Result Set as a Scope File. and export the output list into a file.
     
  2. Reselect the first scope action, right-click and select Add New Copy... and go to the Scope.
     
  3. Remove the existing scope and select Import Scope From File in the Import / Export section. Open the previously generated file.
     
  4. Go to the Conditions Section and modify it to only return machines which have ProgramB installed.
     
  5. Complete and run.
You should end up with a list of machine which both have ProgramA and ProgramB installed.

__________________
Pascal @ PJ Technologies, Inc.
http://www.goverlan.com
Previous Thread | Next Thread
Reply

 
Bookmarks
 
Digg Diggdel.icio.us del.icio.usStumbleUpon StumbleUponGoogle Google