Delete Drivers by OS
Description
Deletes all drivers assigned to a OS
Syntax
DeleteDriversByOS(osPointID As Integer, OSShortName As String) As Boolean
Parameters
OSPointID (Integer)
OS Point ID
OSShortName (String)
Return value
Boolean. The function returns True if successful, otherwise false.
Example
VBScript
Set oCMS = CreateObject("CapaInstaller.SDK") wscript.echo oCMS.SetDefaultManagementPoint("1") wscript.echo DeleteDriversByOS("1","Win11x64")