Want to place in my sms installer package log (Full Version)

All Forums >> [Scripting Technologies] >> SMS Installer



Message


gaurelius -> Want to place in my sms installer package log (5/1/2008 6:45:59 AM)

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! 




tmatthews344 -> RE: Want to place in my sms installer package log (5/1/2008 2:31:43 PM)

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




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

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?





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

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




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

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 




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.25