#line 1 "C:\\WINDOWS\\SYSTEM32\\WBEM\\MGMTPROVIDER.MOF" // Copyright (c) 1997-2011 Microsoft Corporation, All Rights Reserved // shoaibn@microsoft.com #pragma autorecover #pragma classflags ("forceupdate") #pragma namespace("\\\\.\\root\\Microsoft\\Windows") [NamespaceSecuritySDDL ("O:BAG:BAD:(A;CI;CCDCLCSWRPWPRCWD;;;BA)(A;CI;CCDCRP;;;NS)(A;CI;CCDCRP;;;LS)(A;CI;CCDCRPWP;;;AU)")] Instance of __Namespace { Name = "ServerManager"; }; #pragma namespace("\\\\.\\root\\Microsoft\\Windows\\ServerManager") Instance of __Win32Provider as $prov { Name = "mgmtprovider"; ClsId = "{93D5B54E-1F7E-4E6E-8701-35E81DD832E3}"; ImpersonationLevel = 1; HostingModel = "NetworkServiceHost"; version = 1073741825; }; Instance of __MethodProviderRegistration { Provider = $prov; }; [Indication : ToSubclass DisableOverride,Exception : ToSubclass DisableOverride,UMLPackagePath("CIM::Interop") : ToSubclass,locale(1033)] class CIM_Error { [ValueMap{"0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", ".."} : ToSubclass,ModelCorrespondence{"CIM_Error.OtherErrorType"} : ToSubclass] uint16 ErrorType; [ModelCorrespondence{"CIM_Error.ErrorType"} : ToSubclass] string OtherErrorType; string OwningEntity; [Required : ToSubclass DisableOverride,ModelCorrespondence{"CIM_Error.Message", "CIM_Error.MessageArguments"} : ToSubclass] string MessageID; [ModelCorrespondence{"CIM_Error.MessageID", "CIM_Error.MessageArguments"} : ToSubclass] string Message; [ModelCorrespondence{"CIM_Error.MessageID", "CIM_Error.Message"} : ToSubclass] string MessageArguments[]; [ValueMap{"0", "1", "2", "3", "4", "5", "6", "7", ".."} : ToSubclass] uint16 PerceivedSeverity; [ValueMap{"0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23", "24", "25", "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", "36", "37", "38", "39", "40", "41", "42", "43", "44", "45", "46", "47", "48", "49", "50", "51", "52", "53", "54", "55", "56", "57", "58", "59", "60", "61", "62", "63", "64", "65", "66", "67", "68", "69", "70", "71", "72", "73", "74", "75", "76", "77", "78", "79", "80", "81", "82", "83", "84", "85", "86", "87", "88", "89", "90", "91", "92", "93", "94", "95", "96", "97", "98", "99", "100", "101", "102", "103", "104", "105", "106", "107", "108", "109", "110", "111", "112", "113", "114", "115", "116", "117", "118", "119", "120", "121", "122", "123", "124", "125", "126", "127", "128", "129", "130", ".."} : ToSubclass,ModelCorrespondence{"CIM_Error.ProbableCauseDescription"} : ToSubclass] uint16 ProbableCause; [ModelCorrespondence{"CIM_Error.ProbableCause"} : ToSubclass] string ProbableCauseDescription; string RecommendedActions[]; [ModelCorrespondence{"CIM_Error.ErrorSourceFormat"} : ToSubclass] string ErrorSource; [ValueMap{"0", "1", "2", ".."} : ToSubclass,ModelCorrespondence{"CIM_Error.ErrorSource", "CIM_Error.OtherErrorSourceFormat"} : ToSubclass] uint16 ErrorSourceFormat = 0; [ModelCorrespondence{"CIM_Error.ErrorSourceFormat"} : ToSubclass] string OtherErrorSourceFormat; [ValueMap{"1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23", "24", "25", "26", "27", "28", "29", ".."} : ToSubclass,ModelCorrespondence{"CIM_Error.CIMStatusCodeDescription"} : ToSubclass] uint32 CIMStatusCode; [ModelCorrespondence{"CIM_Error.CIMStatusCode"} : ToSubclass] string CIMStatusCodeDescription; }; [dynamic : ToInstance,provider("mgmtprovider") : ToInstance,ClassVersion("1.0.0"),locale(1033)] class MSFT_ServerBpaResult { string BpaXPath; string Values[]; }; [dynamic : ToInstance,provider("mgmtprovider") : ToInstance,ClassVersion("1.0.0"),locale(1033)] class MSFT_ServerClusterInformation { string Name; [ValueMap{"0", "1", "2", "3", "4"} : ToSubclass] uint8 ObjectType; [ValueMap{"1", "2", "3", "4", "5", "100", "101", "102", "103", "104", "105", "106", "107", "108", "109", "110", "111", "112", "113", "114", "115", "116", "117", "9999"} : ToSubclass] sint32 GroupType; }; [Indication : ToSubclass DisableOverride,Exception : ToSubclass DisableOverride,UMLPackagePath("CIM::Interop") : ToSubclass,ClassVersion("1.0.0"),locale(1033)] class MSFT_ServerError : CIM_Error { uint32 ErrorCode; uint32 ExtendedErrorCode; }; [dynamic : ToInstance,provider("mgmtprovider") : ToInstance,ClassVersion("1.0.0"),locale(1033)] class MSFT_ServerEventDetail { uint32 Id; uint16 Level; string Log; uint32 RecordId; string Source; uint64 Timestamp; string Description; sint32 QueryFileId; }; [dynamic : ToInstance,provider("mgmtprovider") : ToInstance,ClassVersion("1.0.0"),locale(1033)] class MSFT_ServerEventLog { string Name; string LocalizedName; }; [dynamic : ToInstance,provider("mgmtprovider") : ToInstance,ClassVersion("1.0.0"),locale(1033)] class MSFT_ServerFeature { sint32 Id; string ParentName; string UniqueName; string DisplayName; [ValueMap{"0", "1", "2", "3", "4", "5", "6"} : ToSubclass] uint8 State; [ValueMap{"0", "1", "2"} : ToSubclass] uint8 Type; [ValueMap{"0", "1", "2", "3"} : ToSubclass] uint8 ConfigurationStatus; string EventQuery; string Services[]; string BpaModels[]; }; [dynamic : ToInstance,provider("mgmtprovider") : ToInstance,ClassVersion("1.0.0"),locale(1033)] class MSFT_ServerInventory { string Name; string Description; string Fqdn; string Domain; boolean IsDomainJoined; [ValueMap{"0", "1", "2"} : ToSubclass] uint8 Type; string ProductId; [ValueMap{"0", "1", "2", "3", "4"} : ToSubclass] uint8 CeipSetting; uint8 WerSetting; boolean IsWerSettingEnforcedByGP; [ValueMap{"0", "1", "2"} : ToSubclass] uint8 ActivationStatus; datetime CbsTimestamp; uint64 TotalPhysicalMemory; string Manufacturer; string ProcessorNames[]; }; [dynamic : ToInstance,provider("mgmtprovider") : ToInstance,ClassVersion("1.0.0"),locale(1033)] class MSFT_ServerManagerTasks { [implemented,static : ToSubclass DisableOverride] uint32 GetCounterSamplesAtTime([In] string CollectorName,[In] string CounterPaths[],[In] datetime Timestamps[],[In] uint32 BatchSize,[Out,EmbeddedInstance("MSFT_ServerPerformanceCounterSamples") : ToSubclass,Stream : ToSubclass DisableOverride] MSFT_ServerPerformanceCounterSamples cmdletOutput[]); [implemented,static : ToSubclass DisableOverride] uint32 GetCounterSamplesInTimeRange([In] string CollectorName,[In] string CounterPaths[],[In] datetime StartTime,[In] datetime EndTime,[In] uint32 BatchSize,[Out,EmbeddedInstance("MSFT_ServerPerformanceCounterSamples") : ToSubclass,Stream : ToSubclass DisableOverride] MSFT_ServerPerformanceCounterSamples cmdletOutput[]); [implemented,static : ToSubclass DisableOverride] uint32 GetPerformanceCollectorState([In] string CollectorName,[Out,ValueMap{"0", "1"} : ToSubclass] uint8 cmdletOutput); [implemented,static : ToSubclass DisableOverride] uint32 SetPerformanceCollectorState([In] string CollectorName,[In,ValueMap{"0", "1"} : ToSubclass] uint8 State); [implemented,static : ToSubclass DisableOverride] uint32 GetServerBpaResult([In] string BpaXPaths[],[In] uint32 BatchSize,[Out,EmbeddedInstance("MSFT_ServerBpaResult") : ToSubclass,Stream : ToSubclass DisableOverride] MSFT_ServerBpaResult cmdletOutput[]); [implemented,static : ToSubclass DisableOverride] uint32 GetServerClusterName([Out] string cmdletOutput[]); [implemented,static : ToSubclass DisableOverride] uint32 GetServerEventDetail([In] string Logs[],[In,BitMap{"0", "1", "2", "3", "4"} : ToSubclass] uint8 Levels[],[In] uint64 StartTimes[],[In] uint64 EndTimes[],[In] uint32 BatchSize,[In] string QueryFiles[],[In] sint32 QueryFileIds[],[Out] uint64 LatestEventTimestamp,[Out,EmbeddedInstance("MSFT_ServerEventDetail") : ToSubclass,Stream : ToSubclass DisableOverride] MSFT_ServerEventDetail cmdletOutput[]); [implemented,static : ToSubclass DisableOverride] uint32 GetServerFeature([In,BitMap{"0", "1", "2", "3", "4", "5", "6"} : ToSubclass] uint32 FilterFlags,[In] uint32 BatchSize,[Out] boolean RequiresReboot,[Out,EmbeddedInstance("MSFT_ServerFeature") : ToSubclass,Stream : ToSubclass DisableOverride] MSFT_ServerFeature cmdletOutput[]); [implemented,static : ToSubclass DisableOverride] uint32 GetServerInventory([In] string SMServerId,[Out,EmbeddedInstance("MSFT_ServerInventory") : ToSubclass] MSFT_ServerInventory ServerInventory,[Out,EmbeddedInstance("MSFT_ServerOperatingSystem") : ToSubclass] MSFT_ServerOperatingSystem OperatingSystem,[Out,EmbeddedInstance("MSFT_ServerClusterInformation") : ToSubclass] MSFT_ServerClusterInformation ClusterInformation,[Out,Stream : ToSubclass DisableOverride,EmbeddedInstance("MSFT_ServerNetworkAdapter") : ToSubclass] MSFT_ServerNetworkAdapter NetworkAdapters[],[Out,Stream : ToSubclass DisableOverride,EmbeddedInstance("MSFT_ServerEventLog") : ToSubclass] MSFT_ServerEventLog EventLogs[]); [implemented,static : ToSubclass DisableOverride] uint32 GetServerServiceDetail([In] string Services[],[In] uint32 BatchSize,[Out,EmbeddedInstance("MSFT_ServerServiceDetail") : ToSubclass,Stream : ToSubclass DisableOverride] MSFT_ServerServiceDetail cmdletOutput[]); [implemented,static : ToSubclass DisableOverride] uint32 RemoveServerPerformanceLog([In] string CollectorName,[In] uint64 MillisecondThreshold); }; [dynamic : ToInstance,provider("mgmtprovider") : ToInstance,ClassVersion("1.0.0"),locale(1033)] class MSFT_ServerNetworkAdapter { string Name; [ValueMap{"0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"} : ToSubclass] uint16 ConnectionStatus; boolean DHCPEnabled; string Addresses[]; }; [dynamic : ToInstance,provider("mgmtprovider") : ToInstance,ClassVersion("1.0.0"),locale(1033)] class MSFT_ServerOperatingSystem { string Name; uint32 MajorVersion; uint32 MinorVersion; uint32 BuildNumber; uint16 SPMajorVersion; uint16 SPMinorVersion; string SKU; string Language; [ValueMap{"0", "1", "2"} : ToSubclass] uint8 Architecture; }; [dynamic : ToInstance,provider("mgmtprovider") : ToInstance,ClassVersion("1.0.0"),locale(1033)] class MSFT_ServerPerformanceCounterSamples { string CounterPaths[]; datetime Timestamps[]; string Values[]; }; [dynamic : ToInstance,provider("mgmtprovider") : ToInstance,ClassVersion("1.0.0"),locale(1033)] class MSFT_ServerServiceDetail { string Name; string DisplayName; string Description; [ValueMap{"0", "1", "2", "3", "4"} : ToSubclass] uint32 StartupType; boolean IsDelayedAutoStart; boolean IsTriggered; [BitMap{"0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10"} : ToSubclass] uint32 SupportedControlCodes; [ValueMap{"0", "1", "2", "3", "4", "5", "6", "7"} : ToSubclass] uint32 Status = 0; uint64 ExitCode = "0"; string DependentServices[]; };