giving something back after taking a lot :-)

Maik Koster at myITforum.com

Deployment Webservice - Version 7 published

April 17, 2010

While it seems as I can’t make it to this years MMS in Las Vegas due to a huge plume of volcanic ash over Europe (BBC News: Volcanic ash - Europe flights grounded for third day) I thought I can at least do something useful and publish an update to the Deployment Webservice with some long requested new functions.

I actually just wanted to publish an update to the current version but in the end there were so many new functions requested and added that it makes more sense to increment the version to 7. It grew now to more then 140 available functions. Seems I really need to update the documentation ;-). To keep it short, here is the list of the changes implemented with this new version:

 

SCCM/SMS:

- AddComputer (MACAddress, UUID, ComputerName, SiteCode) : Adds a new computer to SMS/SCCM and returns the ResourceID if successful

- ClearLastPXEAdvertisementForCollection (CollectionID, SiteCode) : Clears the last PXE advertisement flag for all computers in the specified collection

- ClearLastPXEAdvertisementForComputer (MACAddress, UUID, SiteCode) : Clears the last PXE advertisement flag for the specified computer

- ClearLastPXEAdvertisementForComputerByID (RessourceID, SiteCode) : Clears the last PXE advertisement flag for the specified computer

- DeleteComputer (MACAddress, UUID, SiteCode) : Deletes a computer from SMS/SCCM.

- DeleteComputerAssociation (ReferenceComputerMacAddress, ReferenceComputerUUID, DestinationComputerMacAddress, DestinationComputerUUID, SiteCode) : Deletes an existing association between two computers

- DeleteComputerAssociationByID (ReferenceComputerResourceID, DestinationComputerResourceID, SiteCode) : Deletes an existing association between two computers

- DeleteComputerByID (ResourceID, SiteCode) : Deletes a computer from SMS/SCCM

- GetComputerName (MACAddress, UUID, SiteCode) : Returns the name of the specified computer

- GetComputerNameByID (ResourceID, SiteCode) : Returns the name of the specified computer

- HasAdvertisement (MACAddress, UUID, AdvertisementID, SiteCode) : Checks if a specific advertisement is available for the specified computer

- HasOSDAdvertisementByCollectionID (MACAddress, UUID, CollectionID, SiteCode) : Checks if an OSD advertisement is available to the specified computer limited by a specific collection

- RemoveComputerFromCollection (MACAddress, UUID, CollectionID, SiteCode) : Removes a computer from the specified collection

- RemoveComputerFromCollectionByID (ResourceID, CollectionID, SiteCode) : Removes a computer from the specified collection

- SearchComputerByName (SearchString, SiteCode) : Returns a list of computers with the supplied search string as part of their name/netbiosname

 

AD:

- GetComputerParentPath (ComputerName) : Returns the LDAP path to the parent object of the computer (helpful to save the current OU of a computer at the beginning of a deployment)

Fixed a bug in the GetComputerNameByNetbootGUID and SetComputerDescription functions.

 

MDT:

- GetComputerRoles (SerialNumber, AssetTag, MacAddress, UUID) : Returns a list of Roles assigned to the computer

This function has only been added to support a special Pet-Project I’m about to publish in the next few days. :-)

Update: The "Pet-Project" has just been published. See PrettyGoodFrontEndClone for Details

 

Find the full download at CodePlex.

The next bigger update to the webservice will integrate the Deployment Webservice into the MDT Web FrontEnd so that they share the same code base. This will give far more access to the MDT Database including the option to filter and sort almost any function call.

 

I wish all of you who attend MMS this year a great week. I’m gutted about not being able to attend, so have a beer on me and I really hope to see you all again next year!

Comments

  • No Comments