myITforum.com Community Forum myITforum.com Community Forum

Home  Forums  Blogs  Live Support chat  Search Articles  Wiki  FAQ  Email Lists  Register  Login  My Profile  Inbox  Address Book  My Subscription  My Forums 

Photo Gallery  Member List  Search  Calendars  FAQ  Ticket List  Log Out

All Forums RSS Feed Subscription:


  


Add/Remove Programs Report by Collection

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
  Printable Version
All Forums >> [Management Products] >> Microsoft Systems Management Server >> SMS 2003 >> Add/Remove Programs Report by Collection Page: [1]
Login
Message << Older Topic   Newer Topic >>
Add/Remove Programs Report by Collection - 6/28/2006 11:04:13 PM   
mdickson


Posts: 30
Score: 0
Joined: 3/5/2002
Status: offline
Lists the computername (from SystemResource table), and Display Name, Version and Publisher (from Add/Remove Programs table). It would be nice if it could prompt for a Collection.

Anybody have the SQL for that?
Post #: 1
RE: Add/Remove Programs Report by Collection - 6/29/2006 8:20:24 AM   
hcortez463


Posts: 652
Score: 40
Joined: 4/8/2005
Status: offline
mdickson, what exactly do you want to see on the report?  Sorry no coffee yet

_____________________________

If it Helps, Please rate....

(in reply to mdickson)
Post #: 2
RE: Add/Remove Programs Report by Collection - 6/29/2006 9:07:44 AM   
mdickson


Posts: 30
Score: 0
Joined: 3/5/2002
Status: offline
It's probably that I've had too much coffee :)

Computername, Display Name, Publisher, Version.

The last 3 above all come from  the Add Remove Programs.

And it would be great if the Report would prompt for Collection.

Thanks for the help!

(in reply to hcortez463)
Post #: 3
RE: Add/Remove Programs Report by Collection - 6/29/2006 9:11:59 AM   
hcortez463


Posts: 652
Score: 40
Joined: 4/8/2005
Status: offline
OK.. but do you want to see Computername, Display Name, Publisher, Version. on all items in Add/Remove for each competer per collection??. HMMM

_____________________________

If it Helps, Please rate....

(in reply to mdickson)
Post #: 4
RE: Add/Remove Programs Report by Collection - 6/29/2006 9:21:19 AM   
hcortez463


Posts: 652
Score: 40
Joined: 4/8/2005
Status: offline
Mdickson.
their is a build in report called "count of all instanced of software registerd with add or remove programs".. this report prompts your for a collection and is linked to  the report "Software - Companies and Products - Computers with specific software registered in Add Remove Programs" wich is  a drill down to the system names and info.. This should be what yoru looking for.  If you dont have the report let me know and ill send it to you

_____________________________

If it Helps, Please rate....

(in reply to mdickson)
Post #: 5
RE: Add/Remove Programs Report by Collection - 6/29/2006 9:22:55 AM   
mreavis


Posts: 767
Score: 77
Joined: 9/10/2002
From: Olathe, Kansas
Status: offline
save the text below as a mof and import on your site server, I also included a zip of my mof, not sure which will come through.


// ***** Class : SMS_Report *****
[SecurityVerbs(140551)]
instance of SMS_Report
{
Category = "Department Reports";
Comment = "Displays a summary of all computers in a collection with specific software registered in Add Remove Programs.
\nPlease click the Values button, and scroll down to your department collection.";
DrillThroughColumns = {};
GraphCaption = "";
GraphXCol = 1;
GraphYCol = 2;
MachineDetail = FALSE;
MachineSource = FALSE;
Name = "Computers with specific software registered in Add Remove Programs - Collection Based";
NumPrompts = 2;
RefreshInterval = 0;

ReportParams = {
instance of SMS_ReportParameter
{
AllowEmpty = FALSE;
DefaultValue = "";
PromptText = "Software Title";
SampleValueSQL = "begin
\n if (@__filterwildcard = '')
\n  Select DISTINCT DisplayName0 FROM v_GS_ADD_REMOVE_PROGRAMS order by DisplayName0
\n else
\n  Select DISTINCT DisplayName0 FROM v_GS_ADD_REMOVE_PROGRAMS
\n  WHERE DisplayName0 like @__filterwildcard
\n  order by DisplayName0
\nend";
VariableName = "displayname";
},
instance of SMS_ReportParameter
{
AllowEmpty = FALSE;
DefaultValue = "";
PromptText = "Enter Collection ID";
SampleValueSQL = "begin
\n if (@__filterwildcard = '')
\n  select CollectionID, Name from v_Collection order by Name
\n else
\n  select CollectionID, Name from v_Collection
\n  WHERE CollectionID like @__filterwildcard
\n  order by Name
\nend";
VariableName = "CollID";
}};
SecurityKey = "";
SQLQuery = "Select sys.Netbios_Name0, fcm.SiteCode,  sys.User_Domain0, sys.User_Name0, sys.Operating_System_Name_and0, arp.DisplayName0, arp.Version0
\nFROM v_R_System sys
\nJOIN v_GS_ADD_REMOVE_PROGRAMS arp ON sys.ResourceID = arp.ResourceID
\nJOIN v_FullCollectionMembership fcm on sys.ResourceID=fcm.ResourceID
\nWHERE DisplayName0 = @displayname and fcm.CollectionID=@CollID";
StatusMessageDetailSource = FALSE;
XColLabel = "";
YColLabel = "";
};
// ***** End *****

Attachment (1)

_____________________________

Michael Reavis
SMS Admin
MCSE, MCDBA, MCDST
Johnson County Goverment

(in reply to mdickson)
Post #: 6
RE: Add/Remove Programs Report by Collection - 6/29/2006 10:39:50 AM   
mdickson


Posts: 30
Score: 0
Joined: 3/5/2002
Status: offline
Thanks! I see that there was a canned report that does almost the same thing. I should have caught that.

It doesn't seem to work with the % wildcard. What I hoped to do was specify a collection and list everything from Add/Remove for each machine in the collection. How would I change that?

(in reply to mreavis)
Post #: 7
RE: Add/Remove Programs Report by Collection - 6/29/2006 10:42:24 AM   
hcortez463


Posts: 652
Score: 40
Joined: 4/8/2005
Status: offline
mdikson.. the canned  report does that.  It prompts you for a collection and it gives you number of  items installed in that collection.. It then allows you to drill down and see the computer information.

_____________________________

If it Helps, Please rate....

(in reply to mdickson)
Post #: 8
RE: Add/Remove Programs Report by Collection - 6/29/2006 10:47:51 AM   
mdickson


Posts: 30
Score: 0
Joined: 3/5/2002
Status: offline
The Collection part works fine, but I can't enter just a % to view all software or enter %visio% to see all Visio products, etc.

Is that possible?

(in reply to hcortez463)
Post #: 9
RE: Add/Remove Programs Report by Collection - 6/29/2006 10:54:04 AM   
hcortez463


Posts: 652
Score: 40
Joined: 4/8/2005
Status: offline
have you looked at this report :)

Computers with specific software registered in Add Remove Programs

_____________________________

If it Helps, Please rate....

(in reply to mdickson)
Post #: 10
RE: Add/Remove Programs Report by Collection - 6/29/2006 11:50:16 AM   
mdickson


Posts: 30
Score: 0
Joined: 3/5/2002
Status: offline
That's the report I'm using, but unless I'm missing something, it doesn't allow the % wildcard.

On a valid collection with several hundred machines, it returns nothing for any of these:
%office%
%adobe%
%visio%

(in reply to hcortez463)
Post #: 11
RE: Add/Remove Programs Report by Collection - 6/29/2006 12:43:54 PM   
mreavis


Posts: 767
Score: 77
Joined: 9/10/2002
From: Olathe, Kansas
Status: offline
When a specific product name is requested, wildcard will not work on most reports. Wildcard will only work on the filter query to drill down to a specific item.

You can build the prompt that includes the wildcards, but not sure if it would work. If you are looking for all PCs that have XYZ, you may to build it as a query 1st, then set the prompt

_____________________________

Michael Reavis
SMS Admin
MCSE, MCDBA, MCDST
Johnson County Goverment

(in reply to mdickson)
Post #: 12
RE: Add/Remove Programs Report by Collection - 6/29/2006 12:47:58 PM   
mreavis


Posts: 767
Score: 77
Joined: 9/10/2002
From: Olathe, Kansas
Status: offline
the file I uploaded in my 9:22am post includes the filter and prompt for the collection. you can import the mof and copy from it, or any other report you have that has a collcetion prompt to copy over the prompts and filters.

_____________________________

Michael Reavis
SMS Admin
MCSE, MCDBA, MCDST
Johnson County Goverment

(in reply to mdickson)
Post #: 13
RE: Add/Remove Programs Report by Collection - 6/29/2006 2:31:41 PM   
mdickson


Posts: 30
Score: 0
Joined: 3/5/2002
Status: offline
OK. Thanks for your help.

(in reply to mreavis)
Post #: 14
RE: Add/Remove Programs Report by Collection - 6/30/2008 5:31:09 PM   
mbartosh

 

Posts: 96
Score: 0
Joined: 7/7/2004
From: California
Status: offline
I tried to import the report listed above.  I copied it and then pasted it into a .mof file.  It did not import successfully because there was something wrong with the format.  Any suggestions?  I tried to download the zip, but that did not work.

(in reply to mdickson)
Post #: 15
Page:   [1]
All Forums >> [Management Products] >> Microsoft Systems Management Server >> SMS 2003 >> Add/Remove Programs Report by Collection Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts



  
Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

0.465