Discovers the containment relationship between the File Services role and the iSCSI Target object discovered on this server
Knowledge Base article:
Summary
This discovery rule discovers a containment relationship between the File Services role and the iSCSI Target service if it exists. The rule is targeted to the iSCSI Target service and will only run once the iSCSI Target service has been discovered. The iSCSI Target service is shipped as part of the Windows Storage Server 2008 R2 release.
Dim oAPI, oArgs
Set oAPI = CreateObject("MOM.ScriptAPI")
Set oArgs = WScript.Arguments
if oArgs.Count < 3 Then
oApi.LogScriptEvent "iSCSI2008R2.DiscoverRelationship",1,4,"Not enough arguments"
Wscript.Quit -1
End If
Dim SourceID, ManagedEntityId, TargetComputer, IsVirtualNode