February 2007 - Posts
February 07, 2007
If you have done any scripting or programming for WMI you have inevitably run into error 2147217407 or -2147217407 or 80041001 What is this error? Well it is ExecASynchQuery Failure. Umm okay what does that mean? It means the query took long enough that it timed out. What does that mean? That either you are referencing an object that was just created (and isn't done being created) or the server was to busy (might want to consider opening more WMI connections) or that your search isn't specific enough...
Read
the full post or
leave a comment.
Filed under: SMS 2003 Scripting
February 07, 2007
Been working with our MS TAM for more detail. http://www.softricity.com/products/softgrid-sms.asp QUOTE : Integrate asset discovery and metering Virtualized applications are included in SMS asset discovery and metering reports, providing a complete picture of all application usage. Turns out this is because SoftGrid inserts an Add Remove Program entry on the target PC. The Add Remove Program entry is only inserted with SMS distribution. This may or may not still be present when version 4.5 comes...
Read
the full post or
leave a comment.
Filed under: SoftGrid
February 07, 2007
I have gotten back into scripting and programming for SMS again. This time in C# Programmatic Problem : SMS has a restriction that requires a unique name in the MMC. However, programmatically you can create as many items as you want because they are based on a unique instance ID (eg. CollectionID) The following Code Fragment is from the Collections.cs. Modifying the Constructor. I put a try catch block in to see if the exact name already exists. If it does exist, return nothing. If it doesn't continue...
Read
the full post or
leave a comment.
Filed under: SMS 2003 Scripting