Includes&Samples |
MSFT_SmbShare, ROOT\Microsoft\Windows\SMB - InstancesClass | Methods (9) | Properties (21) | Qualifiers (6) | Instances (8) | Namespaces (2)Samples: VB Script | C# | VB.Net | Search on:Microsoft Instances of MSFT_SmbShareThis section contains sample wmi instances of MSFT_SmbShare class with their properties from Microsoft Windows Server 2012 R2 Datacenter Evaluation. Instance \\W2012SDC\ROOT\Microsoft\Windows\SMB:MSFT_SmbShare.Name="ADMIN$",ScopeName="*"Properties={ 'AvailabilityType' : 0 //Long, 0x0 'CachingMode' : 1 //Long, 0x1 'CATimeout' : 0 //Long, 0x0 'ConcurrentUserLimit' : 0 //Long, 0x0 'ContinuouslyAvailable' : False //Boolean, 0x0 'CurrentUsers' : 0 //Long, 0x0 'Description' : 'Remote Admin' //String 'EncryptData' : False //Boolean, 0x0 'FolderEnumerationMode' : 1 //Long, 0x1 'Name' : 'ADMIN$' //String 'Path' : 'C:\Windows' //String 'Scoped' : False //Boolean, 0x0 'ScopeName' : '*' //String 'SecurityDescriptor' : 'O:SYG:SYD:(A;;GA;;;BA)(A;;GA;;;BO)(A;;GA;;;IU)' //String 'ShadowCopy' : False //Boolean, 0x0 'ShareState' : 1 //Long, 0x1 'ShareType' : 0 //Long, 0x0 'SmbInstance' : 0 //Long, 0x0 'Special' : True //Boolean, 0xFFFFFFFF 'Temporary' : False //Boolean, 0x0 'Volume' : '\\?\Volume{6e015508-45ee-11e4-80b5-806e6f6e6963}\' //String } Instance \\W2012SDC\ROOT\Microsoft\Windows\SMB:MSFT_SmbShare.Name="C$",ScopeName="*"Properties={ 'AvailabilityType' : 0 //Long, 0x0 'CachingMode' : 1 //Long, 0x1 'CATimeout' : 0 //Long, 0x0 'ConcurrentUserLimit' : 0 //Long, 0x0 'ContinuouslyAvailable' : False //Boolean, 0x0 'CurrentUsers' : 0 //Long, 0x0 'Description' : 'Default share' //String 'EncryptData' : False //Boolean, 0x0 'FolderEnumerationMode' : 1 //Long, 0x1 'Name' : 'C$' //String 'Path' : 'C:\' //String 'Scoped' : False //Boolean, 0x0 'ScopeName' : '*' //String 'SecurityDescriptor' : 'O:SYG:SYD:(A;;GA;;;BA)(A;;GA;;;BO)(A;;GA;;;IU)' //String 'ShadowCopy' : False //Boolean, 0x0 'ShareState' : 1 //Long, 0x1 'ShareType' : 0 //Long, 0x0 'SmbInstance' : 0 //Long, 0x0 'Special' : True //Boolean, 0xFFFFFFFF 'Temporary' : False //Boolean, 0x0 'Volume' : '\\?\Volume{6e015508-45ee-11e4-80b5-806e6f6e6963}\' //String } Instance \\W2012SDC\ROOT\Microsoft\Windows\SMB:MSFT_SmbShare.Name="CertEnroll",ScopeName="*"Properties={ 'AvailabilityType' : 0 //Long, 0x0 'CachingMode' : 1 //Long, 0x1 'CATimeout' : 0 //Long, 0x0 'ConcurrentUserLimit' : 0 //Long, 0x0 'ContinuouslyAvailable' : False //Boolean, 0x0 'CurrentUsers' : 0 //Long, 0x0 'Description' : 'Active Directory Certificate Services share' //String 'EncryptData' : False //Boolean, 0x0 'FolderEnumerationMode' : 1 //Long, 0x1 'Name' : 'CertEnroll' //String 'Path' : 'C:\Windows\system32\CertSrv\CertEnroll' //String 'Scoped' : False //Boolean, 0x0 'ScopeName' : '*' //String 'SecurityDescriptor' : 'O:BAG:DCD:(A;OICI;0x1200a9;;;WD)(A;OICI;FA;;;BA)' //String 'ShadowCopy' : False //Boolean, 0x0 'ShareState' : 1 //Long, 0x1 'ShareType' : 0 //Long, 0x0 'SmbInstance' : 0 //Long, 0x0 'Special' : False //Boolean, 0x0 'Temporary' : False //Boolean, 0x0 'Volume' : '\\?\Volume{6e015508-45ee-11e4-80b5-806e6f6e6963}\' //String } Instance \\W2012SDC\ROOT\Microsoft\Windows\SMB:MSFT_SmbShare.Name="IPC$",ScopeName="*"Properties={ 'AvailabilityType' : 0 //Long, 0x0 'CachingMode' : 1 //Long, 0x1 'CATimeout' : 0 //Long, 0x0 'ConcurrentUserLimit' : 0 //Long, 0x0 'ContinuouslyAvailable' : False //Boolean, 0x0 'CurrentUsers' : 0 //Long, 0x0 'Description' : 'Remote IPC' //String 'EncryptData' : False //Boolean, 0x0 'FolderEnumerationMode' : 1 //Long, 0x1 'Name' : 'IPC$' //String 'Path' : '' //String 'Scoped' : False //Boolean, 0x0 'ScopeName' : '*' //String 'SecurityDescriptor' : 'O:SYG:SYD:(A;;GA;;;BA)(A;;GA;;;BO)(A;;GA;;;IU)' //String 'ShadowCopy' : False //Boolean, 0x0 'ShareState' : 1 //Long, 0x1 'ShareType' : 3 //Long, 0x3 'SmbInstance' : 0 //Long, 0x0 'Special' : True //Boolean, 0xFFFFFFFF 'Temporary' : False //Boolean, 0x0 'Volume' : null } Instance \\W2012SDC\ROOT\Microsoft\Windows\SMB:MSFT_SmbShare.Name="NETLOGON",ScopeName="*"Properties={ 'AvailabilityType' : 0 //Long, 0x0 'CachingMode' : 1 //Long, 0x1 'CATimeout' : 0 //Long, 0x0 'ConcurrentUserLimit' : 0 //Long, 0x0 'ContinuouslyAvailable' : False //Boolean, 0x0 'CurrentUsers' : 0 //Long, 0x0 'Description' : 'Logon server share ' //String 'EncryptData' : False //Boolean, 0x0 'FolderEnumerationMode' : 1 //Long, 0x1 'Name' : 'NETLOGON' //String 'Path' : 'C:\Windows\SYSVOL\sysvol\rootdomain.com\SCRIPTS' //String 'Scoped' : False //Boolean, 0x0 'ScopeName' : '*' //String 'SecurityDescriptor' : 'O:BAG:SYD:(A;;0x1200a9;;;WD)(A;;FA;;;BA)' //String 'ShadowCopy' : False //Boolean, 0x0 'ShareState' : 1 //Long, 0x1 'ShareType' : 0 //Long, 0x0 'SmbInstance' : 0 //Long, 0x0 'Special' : False //Boolean, 0x0 'Temporary' : False //Boolean, 0x0 'Volume' : '\\?\Volume{6e015508-45ee-11e4-80b5-806e6f6e6963}\' //String } Instance \\W2012SDC\ROOT\Microsoft\Windows\SMB:MSFT_SmbShare.Name="Shared Folders",ScopeName="*"Properties={ 'AvailabilityType' : 0 //Long, 0x0 'CachingMode' : 1 //Long, 0x1 'CATimeout' : 0 //Long, 0x0 'ConcurrentUserLimit' : 0 //Long, 0x0 'ContinuouslyAvailable' : False //Boolean, 0x0 'CurrentUsers' : 0 //Long, 0x0 'Description' : '' //String 'EncryptData' : False //Boolean, 0x0 'FolderEnumerationMode' : 1 //Long, 0x1 'Name' : 'Shared Folders' //String 'Path' : 'C:\DFSRoots\Shared Folders' //String 'Scoped' : False //Boolean, 0x0 'ScopeName' : '*' //String 'SecurityDescriptor' : 'O:SYG:SYD:(A;;0x1200a9;;;WD)' //String 'ShadowCopy' : False //Boolean, 0x0 'ShareState' : 1 //Long, 0x1 'ShareType' : 0 //Long, 0x0 'SmbInstance' : 0 //Long, 0x0 'Special' : False //Boolean, 0x0 'Temporary' : False //Boolean, 0x0 'Volume' : '\\?\Volume{6e015508-45ee-11e4-80b5-806e6f6e6963}\' //String } Instance \\W2012SDC\ROOT\Microsoft\Windows\SMB:MSFT_SmbShare.Name="Shared Folders2",ScopeName="*"Properties={ 'AvailabilityType' : 0 //Long, 0x0 'CachingMode' : 1 //Long, 0x1 'CATimeout' : 0 //Long, 0x0 'ConcurrentUserLimit' : 0 //Long, 0x0 'ContinuouslyAvailable' : False //Boolean, 0x0 'CurrentUsers' : 0 //Long, 0x0 'Description' : '' //String 'EncryptData' : False //Boolean, 0x0 'FolderEnumerationMode' : 1 //Long, 0x1 'Name' : 'Shared Folders2' //String 'Path' : 'C:\DFSRoots\Shared Folders' //String 'Scoped' : False //Boolean, 0x0 'ScopeName' : '*' //String 'SecurityDescriptor' : 'O:SYG:SYD:(A;;0x1200a9;;;WD)' //String 'ShadowCopy' : False //Boolean, 0x0 'ShareState' : 1 //Long, 0x1 'ShareType' : 0 //Long, 0x0 'SmbInstance' : 0 //Long, 0x0 'Special' : False //Boolean, 0x0 'Temporary' : False //Boolean, 0x0 'Volume' : '\\?\Volume{6e015508-45ee-11e4-80b5-806e6f6e6963}\' //String } Instance \\W2012SDC\ROOT\Microsoft\Windows\SMB:MSFT_SmbShare.Name="SYSVOL",ScopeName="*"Properties={ 'AvailabilityType' : 0 //Long, 0x0 'CachingMode' : 1 //Long, 0x1 'CATimeout' : 0 //Long, 0x0 'ConcurrentUserLimit' : 0 //Long, 0x0 'ContinuouslyAvailable' : False //Boolean, 0x0 'CurrentUsers' : 0 //Long, 0x0 'Description' : 'Logon server share ' //String 'EncryptData' : False //Boolean, 0x0 'FolderEnumerationMode' : 1 //Long, 0x1 'Name' : 'SYSVOL' //String 'Path' : 'C:\Windows\SYSVOL\sysvol' //String 'Scoped' : False //Boolean, 0x0 'ScopeName' : '*' //String 'SecurityDescriptor' : 'O:BAG:SYD:(A;;0x1200a9;;;WD)(A;;FA;;;BA)(A;;FA;;;AU)' //String 'ShadowCopy' : False //Boolean, 0x0 'ShareState' : 1 //Long, 0x1 'ShareType' : 0 //Long, 0x0 'SmbInstance' : 0 //Long, 0x0 'Special' : False //Boolean, 0x0 'Temporary' : False //Boolean, 0x0 'Volume' : '\\?\Volume{6e015508-45ee-11e4-80b5-806e6f6e6963}\' //String } |