Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Status advertisement and scripting

Status
Not open for further replies.

jmgmayo

IS-IT--Management
Apr 21, 2005
2
ES
Hi,

we are developing a SMS 2003 environment and we need synchronize distribution process between UNIX and Windows.

We have thought to use Visual Basic script to change the value of Status in the advertisement to notify to clients that they can install the package using SMS when the UNIX installation is OK.

The steps that we need to do are:

1. Create the package
2. Create the Advertisement
3. Disable the status of the advertisement (right click over the advertisement and select all task > Disable program)
4. Distribute in UNIX
5. Inform to Windows that UNIX is OK
6. Using visual script to change the status value to advertisement from Disable to Enable.


The problem is that the only fields that we can change are:
[..]
ActionInProgress
AdvertFlags
AdvertisementID
AdvertisementName
AssignedScheduleEnabled
AssignedScheduleIsGMT
CollectionID
Comment
ExpirationTime
ExpirationTimeEnabled
ExpirationTimeIsGMT
HierarchyPath
IncludeSubCollection
PackageID
PresentTime
PresentTimeEnabled
PresentTimeIsGMT
Priority
SourceSite
TimeFlags
[..]

Where could we change this status value?

Thanks and kind regards.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top