on 06-01-2010 02:03 AM
Thanks - The documentation was a bit shabby on our current version's CD, but the 9.x release had much better notes (examples were still a bit thin). I got it working last night using something similar.
FYI: In your example, it looks like you need to rename "Sub SetupEmail" to "Sub GetEmail".
I modified mine to accept a computer name on the command line, and it seems to work well for checking remote systems. I wrapped it in a CMD file (using FIND) to compare actual values to the correct values to help detect misconfigured systems. Now, I'm ironing out the kinks getting SCCM to check all our systems out and report what it finds.
---------------------
Option Explicit
Dim v2iAuto
Dim oNet
Dim emailAddress
Dim emailServer
Dim emailAddressfrom
Dim targetComputer
Just curious, what tool (if any) did you use to extract all the properties from the DLL?
CLSID_NOTIFY_HANDLER_EMAIL = "{69EB42D1-2701-437A-BFA4-EDA0042E2F0F}" DISPID_NOTIFY_HANDLER_TYPE = 258 DISPID_NOTIFY_PROPERTY_EMAIL_ADDRESS = 512 DISPID_NOTIFY_PROPERTY_EMAIL_SERVER = 513 DISPID_NOTIFY_PROPERTY_EMAIL_ADDRESS_FROM=515 DISPID_NOTIFY_SMTP_AUTH = 516
Puh, well it is a long time ago since I wrote the script. I don't know which tool it was, sorry.
hi
how to create the offsite copie using .vbs ??
you can do it by the wizard, and he added this text to the .pqj file :
You might check out the documentation in the automation folder of the product CD to find out wich object or property does the trick. The current vbs can not do it.
I looking online because I don't have product CD, all of the BESR have been installed long time ago...
This option not seem to be used by the community :(
I think if you download the trial version of BESR you'd get the documentation also.
yes, it's was my intention, but need to do it at home cause of download rate limitation here :*)
I find in "automation\IImage5.html" file some informations :
these option seem to activate the fonctionnality :
VT_VOID AddOffsiteCopy(IImage newVal) | Add an offsite copy of this image. |
or maybe this option (Automation\IAgentAbilities5.html)
VT_BOOL | OffsiteCopy | Read Write | Returns Whether allow offsite copy. |
and this other, seem to authorize to 'do not prompt confirmation' (Automation\IImageJob5.html)
VT_BOOL | EnableAutoSync | Read Write | Enable automatic synchronization of offsite copy locations. |
but I'm not developper and don't understand howto where insert it in this script :\
and I need also a command to specify the path of the "offsite copy locations."
my offsite location is a windows share, with a special account (not domain user, local account). I must specify it also
above a screenshot of this option of the wizard
Sorry, currently I don't have time to modify my script. But maybe you might be able to find someone with modest programming skills to do this for you.
You spend all this money for an off the shelf management suite and now you need to find or pay a programmer to create or modify some script to do something this software is designed to do
I don’t get it Sorry.
thanks Markus for pointing me here..
not sure how to utilize this though... we are using the Altiris CMS to manage SSR and the VBS would require some real tuning to get all 10 sites with 20 current backup policies working via vbs... with 0 user input...
still going to take a look.. thanks for posting up!