DancingFerret Posted October 8, 2012 Report post Posted October 8, 2012 Hi, I'm trying to add the WIN32_Volume class to report in SCCM but it is not reporting back ALL the drives data, only a single instace on the servers. EG: 24 attached drives only 1 drive is been reported back. I am expecting to see the same data in SCCM as if i ran "get-wmiobject win32_volume" in powershell Can someone have a look and see what I've missed or doing wrong? PS; I can't use the LogicalDisk drives to report back the data as not all drives are setup as Logical, so I need to get the Volume class working. Any help would be appreciated //============================================================== #pragma namespace ("\\\\.\\root\\cimv2\\") [ SMS_Report (TRUE), SMS_Group_Name ("SCCM_Disk_Volume"), SMS_Class_ID ("CUSTOM|SCCM_Disk_Volume|1.0") ] class Win32_Volume : SMS_Class_Template { [sMS_Report (FALSE) ] uint16 Access; [sMS_Report (FALSE) ] boolean Automount; [sMS_Report (TRUE) ] uint16 Availability; [sMS_Report (FALSE) ] uint64 BlockSize; [sMS_Report (TRUE) ] boolean BootVolume; [sMS_Report (TRUE), key ] uint64 Capacity; [sMS_Report (FALSE) ] string Caption; [sMS_Report (FALSE) ] boolean Compressed; [sMS_Report (TRUE) ] uint32 ConfigManagerErrorCode; [sMS_Report (TRUE) ] boolean ConfigManagerUserConfig; [sMS_Report (TRUE) ] string CreationClassName; [sMS_Report (TRUE) ] string Description; [sMS_Report (TRUE) ] string DeviceID; [sMS_Report (FALSE) ] boolean DirtyBitSet; [sMS_Report (TRUE) ] string DriveLetter; [sMS_Report (TRUE) ] uint32 DriveType; [sMS_Report (TRUE) ] boolean ErrorCleared; [sMS_Report (TRUE) ] string ErrorDescription; [sMS_Report (TRUE) ] string ErrorMethodology; [sMS_Report (TRUE) ] string FileSystem; [sMS_Report (TRUE) ] uint64 FreeSpace; [sMS_Report (FALSE) ] boolean IndexingEnabled; [sMS_Report (FALSE) ] datetime InstallDate; [sMS_Report (TRUE) ] string Label; [sMS_Report (TRUE) ] uint32 LastErrorCode; [sMS_Report (TRUE) ] uint32 MaximumFileNameLength; [sMS_Report (FALSE) ] string Name; [sMS_Report (TRUE) ] uint64 NumberOfBlocks; [sMS_Report (TRUE) ] boolean PageFilePresent; [sMS_Report (TRUE) ] string PNPDeviceID; [sMS_Report (FALSE) ] boolean PowerManagementSupported; [sMS_Report (TRUE) ] string Purpose; [sMS_Report (TRUE) ] boolean QuotasEnabled; [sMS_Report (TRUE) ] boolean QuotasIncomplete; [sMS_Report (TRUE) ] boolean QuotasRebuilding; [sMS_Report (TRUE) ] uint32 SerialNumber; [sMS_Report (TRUE) ] string Status; [sMS_Report (FALSE) ] uint16 StatusInfo; [sMS_Report (FALSE) ] boolean SupportsDiskQuotas; [sMS_Report (FALSE) ] boolean SupportsFileBasedCompression; [sMS_Report (TRUE) ] string SystemCreationClassName; [sMS_Report (TRUE) ] string SystemName; [sMS_Report (TRUE) ] boolean SystemVolume; }; //============================================================== Quote Share this post Link to post Share on other sites More sharing options...