Reference for Win32_DfsNode
|
|
Category (Kategorie): Dfs
Description (Beschreibung): The Win32_DFSNode WMI class represents a root, or junction node, of a domain-based or stand-alone distributed file system (DFS). The DFS root is also represented by this class because the root is also a node. Each link has one or more targets, or actual share paths, for the storage defined by the Win32_DFSTarget class. This class was added for Windows 2003 Server.
Availability (Verfügbarkeit): WMI Class Name | Windows Server 2003 | Windows XP Professional | Windows 2000 | Windows NT 4.0 | Windows 98 | Win32_DfsNode | Yes | - | - | - | - |
Properties (Attribute): Item | Server 2003 | XP Pro | Windows 2000 | NT 4.0 | Windows 98 | Caption | Yes | - | - | - | - | Description | Yes | - | - | - | - | InstallDate | Yes | - | - | - | - | Name | Yes | - | - | - | - | Root | Yes | - | - | - | - | State | Yes | - | - | - | - | Status | Yes | - | - | - | - | Timeout | Yes | - | - | - | - |
Methods (Methoden): Item | Server 2003 | XP Pro | Windows 2000 | NT 4.0 | Windows 98 | Create | Yes | - | - | - | - |
Sample Code (Beispiel):
strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
Set colItems = objWMIService.ExecQuery("Select * from Win32_DfsNode")
For Each objItem in colItems
Wscript.Echo "Caption: " & objItem.Caption
Next
Links:
Link zur Original-Microsoft-Dokumentation
www.IT-Visions.de, (C) Dr. Holger Schwichtenberg
|