#pragma namespace(\\\\.\\root\\ccm\\policy\\machine\\requestedconfig)
instance of CCM_Logging_ComponentConfiguration
{
PolicyId = "1";
PolicyVersion = "1";
PolicySource = "Local";
PolicyInstanceId = "1";
PolicyRuleId = "1";
Name = "PolicyRequest";
LogEnabled = TRUE;
LogMaxSize = "Log File Size";
LogPath = "policyrequest.log";
};
Note: Replace "Log File Size"with a number specifying the maximum size in bytes to which log files can grow. The default size is 2MB (2000000 bytes).
Use the WMI mofcomp.exe tool to compile the .mof file on the target management point or device management point.
At a command prompt, run the following command from the directory in which you saved the file, logging.mof: mofcomp logging.mof
0 comments:
Post a Comment