' Modify an SMS Object



Dim objAdvertisement

Set objAdvertisement = GetObject _
    ("WinMgmts:root\SMS\site_999:SMS_Advertisement.AdvertisementID='99920002'")

objAdvertisement.AssignedScheduleEnabled=True

objAdvertisement.Put_
search for scripts

VbsEdit contains all these sample scripts!





Home   Scripts

Copyright © 2001-2020 adersοft