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:


           



Want to place in my sms installer package log

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

Logged in as: Guest
  Printable Version
All Forums >> [Scripting Technologies] >> SMS Installer >> Want to place in my sms installer package log Page: [1]
Login
Message << Older Topic   Newer Topic >>
Want to place in my sms installer package log - 5/1/2008 6:45:59 AM   
gaurelius

 

Posts: 38
Score: 0
Joined: 4/11/2004
Status: offline
Hi,

Want to be able to write the SCCM  package ID and the Advertisement ID to the script log file. Are these variables I can get?

Thanks! 
Post #: 1
RE: Want to place in my sms installer package log - 5/1/2008 2:31:43 PM   
tmatthews344

 

Posts: 327
Score: 21
Joined: 7/16/2001
Status: offline
Hi I'm not sure I understand your requirements?

What SCCM Package ID do you want to write to a log file?  All of them in your site?  One at a time when they are installed on a PC?  One at a time on your site server as advertisements are created?  What are you going to use this information for?  They aren't just variables by themselves like a system variable but I'm sure we could figure out how to get them into a variable depending on what you want to do with it.

Terry

(in reply to gaurelius)
Post #: 2
RE: Want to place in my sms installer package log - 5/3/2008 11:28:15 PM   
gaurelius

 

Posts: 38
Score: 0
Joined: 4/11/2004
Status: offline
OK, I have an sms installer scripts which are the program for sccm packages. In the scripts I have a log which is copied to the local PC, laptop. These SCCM packages will go to many different SCCM servers in a big enterprise with many domains and many SCCM admins expiring ads, expiring packages, making new packages using the same programs.

There are laptops and PCs that move from domain to domain...etc.

In troubleshooting support people have different experience levels and if I tell them to reference logs they quickly know where the package came; the AD ID so say if someone has an issue they can beeline relevant info.

Sorry for the novel..do you see where I'm coming from?


(in reply to tmatthews344)
Post #: 3
RE: Want to place in my sms installer package log - 5/4/2008 1:52:40 AM   
tmatthews344

 

Posts: 327
Score: 21
Joined: 7/16/2001
Status: offline
So I guess I don't completely understand, why can't they look at the logs already on the clients?  Among others the execmgr.log?  It has the various IDs you talk about, they are a little hard to read but all the details are there.  Thsi information can also be found in other locations.

If you just want the IDs, you could create a SMS Installer script which reads the lines of the various logs looks for the information and extracts that into a variable which could then be written to a log file.  But I think you are moving a lot of stuff around for no apparent reason.  But if you want to try this and let us know how that goes that would be great and I'm sure everyone could help if you run into issue with that.

The information on these packages and distribution should also be captured and sent back to the Site Database, where you can see it.

If these suggestions do not fit your scenraio then maybe I'm still missing it.

Terry

(in reply to gaurelius)
Post #: 4
RE: Want to place in my sms installer package log - 5/6/2008 9:11:15 AM   
gaurelius

 

Posts: 38
Score: 0
Joined: 4/11/2004
Status: offline
Big companies aren't a perfect world where you can train once and all will perpetuate and follow how to do SCCM log trobleshooting from now on. Techs quit, and someone's unskilled nephew gets the job....

Thank You for explaining to to me that there not  known variables. In testing so far I was able to get the package ID as follows.

In SMSI script I have an Insert text line with the %INST% variable and in path to DP it gives package ID. Now Advertisement AD I will think about if there's is an easier way than parsing execmgr.log.

Thank You!

Glenn Aurelius 

(in reply to tmatthews344)
Post #: 5
Page:   [1]
All Forums >> [Scripting Technologies] >> SMS Installer >> Want to place in my sms installer package log 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.281