I would like to create a new report by exporting a report as a .MOF, modifying it, and then importing it back into SCCM.
Is there a way to generate a new SCCM report from "Reports" -> "import objects"?
I have attempted this but have been unsuccessful. I read this can be done by changing the values after "Category =" and "Name =" but it always replaces the previous report. I beleive this is because the ReportGUID stays the same. How can you regenerate a new ReportGUID? Is this possible??
Here is a sample MOF I would like to import as a new report.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.
I would like to create a new report by exporting a report as a .MOF, modifying it, and then importing it back into SCCM.
Is there a way to generate a new SCCM report from "Reports" -> "import objects"?
I have attempted this but have been unsuccessful. I read this can be done by changing the values after "Category =" and "Name =" but it always replaces the previous report. I beleive this is because the ReportGUID stays the same. How can you regenerate a new ReportGUID? Is this possible??
Here is a sample MOF I would like to import as a new report.
// ********************************************************************************
*
//
// Created by SMS Export object wizard
//
// Wednesday, July 29, 2009 created
//
// File Name: BFC-CustomReport-Memory-394.MOF
//
// Comments :
//
//
// ********************************************************************************
*
// ***** Class : SMS_Report *****
[securityVerbs(140551)]
instance of SMS_Report
{
Category = "BFC - Custom Reports - Hardware - Memory";
Comment = "Displays a list of computers that are low on memory. The amount of memory to check for is specified in MB.";
DrillThroughColumns = {};
MachineDetail = FALSE;
MachineSource = FALSE;
Name = "Computers with low memory that is less than or equal to specified MB of RAM";
NumPrompts = 1;
RefreshInterval = 0;
ReportGUID = "{33DFBA95-926F-4B93-BAD4-2FA640F75439}";
ReportParams = {
instance of SMS_ReportParameter
{
AllowEmpty = FALSE;
PromptText = "MB of Memory";
VariableName = "variable";
}};
SecurityKey = "";
SQLQuery = "SELECT Distinct SYS.Netbios_Name0, SYS.Operating_System_Name_and0,
\n \tMEM.TotalPhysicalMemory0/1024 As C083
\nFROM v_R_System SYS
\nJOIN v_GS_X86_PC_MEMORY MEM on SYS.ResourceID = MEM.ResourceID
\nWHERE MEM.TotalPhysicalMemory0/1024 <= @variable";
StatusMessageDetailSource = FALSE;
UnicodeData = FALSE;
};
// ***** End *****
Share this post
Link to post
Share on other sites