Quantcast
Channel: Configuration Manager 2007 Inventory forum
Viewing all articles
Browse latest Browse all 233

SCCM 2007 Hardware Inventory v_GS_VIRTUAL_MACHINE table missing the PhysicalHostName0 and PhysicalHostNameFullyQualifi0 Columns

$
0
0

Hi All,

I went to run a query in SQL Management Studio the other day and realized that thev_GS_VIRTUAL_MACHINE table missing the PhysicalHostName0and PhysicalHostNameFullyQualifi0 Columns.

I reviewed the Configuration.mof and SMS_def.mof files and they seem fine. The Configuration.mof file has the below in it where it should be gathering the PhysicalHostName0 and PhysicalHostNameFullyQualifi0 parameters.

//----------------------
// Virtual PC
//----------------------

#pragma namespace ("\\\\.\\root\\cimv2")

[DYNPROPS]
class Win32Reg_SMSGuestVirtualMachine
{
    [key]
        string InstanceKey;
        string PhysicalHostName;
        string PhysicalHostNameFullyQualified;
};

[DYNPROPS]
instance of Win32Reg_SMSGuestVirtualMachine
{
    InstanceKey = "VPCKey";
    [PropertyContext("local|HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Virtual Machine\\Guest\\Parameters|PhysicalHostName"),
                    Dynamic, Provider("RegPropProv")]
        PhysicalHostName;
    [PropertyContext("local|HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Virtual Machine\\Guest\\Parameters|PhysicalHostNameFullyQualified"),
                    Dynamic, Provider("RegPropProv")]
        PhysicalHostNameFullyQualified;
};

[DYNPROPS]
class Win32Reg_SMSGuestVirtualMachine64
{
    [key]
        string InstanceKey;
        string PhysicalHostName;
        string PhysicalHostNameFullyQualified;
};

[DYNPROPS]
instance of Win32Reg_SMSGuestVirtualMachine64
{
    InstanceKey = "VPCKey";
    [PropertyContext("local|HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Virtual Machine\\Guest\\Parameters|PhysicalHostName"),
                    Dynamic, Provider("RegPropProv")]
        PhysicalHostName;
    [PropertyContext("local|HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Virtual Machine\\Guest\\Parameters|PhysicalHostNameFullyQualified"),
                    Dynamic, Provider("RegPropProv")]
        PhysicalHostNameFullyQualified;
};

I'm not really sure what to look at next and am hoping someone else has experienced this issue before.

I have looked at other customers running SCCM 2007 and compared the Configuration.mof and SMS_def.mof files, which look pretty much the same.

Thanks in advanced.

Andrew


Viewing all articles
Browse latest Browse all 233

Trending Articles