Resolution
Can I close Open files using the Directory and Resource Administrator CLI?
fact
Directory and Resource Administrator 6.x
fact
Directory and Resource Administrator 7.x
fix
The OPENFILE command is not available from the command line in Directory and Resource Administrator (DRA). However, the ability to manage open files is available via the Directory and Resource Administrator ADSI provider.
The Software Development Kit (SDK) is the main source of information about the DRA ADSI provider. The following excerpt from the Software Development Kit (SDK) describes how to close an open file:
Example: Closing an Open File
Use the following Visual Basic code to close an open file. For more information about open file resource support, see Resource Support for Open Files.
Dim openFile
Set openFile = GetObject("OnePoint://cn=274,cn=whqonepoint,ou=Domain Controllers, dc=onepoint,dc=local,module=resources,openfile")
openFile.Close
note
The ability to manage resources via the DRA CLI is being considered for a future release of DRA.
note
Scripting and the SDK is outside the normal scope of Technical Support. NetIQ does have an Enablement Services group that can create customer solutions. Please contact your Sales Representative for further information.