Create a query in SCCM 2012 R2 for NIC Driver Version

Hello,
    Is there a way to create a query for the specific NIC driver versions with SCCM 2012 R2? For example I can do this and other descriptors for video i.e.,
select SMS_R_System.Name, SMS_R_System.LastLogonUserName, SMS_R_System.HardwareID, SMS_G_System_COMPUTER_SYSTEM.Manufacturer, SMS_G_System_COMPUTER_SYSTEM.Model, SMS_G_System_VIDEO_CONTROLLER.DriverVersion, SMS_G_System_VIDEO_CONTROLLER.Description, SMS_G_System_VIDEO_CONTROLLER.VideoProcessor
from  SMS_R_System inner join SMS_G_System_COMPUTER_SYSTEM on SMS_G_System_COMPUTER_SYSTEM.ResourceID = SMS_R_System.ResourceId inner join SMS_G_System_VIDEO_CONTROLLER on SMS_G_System_VIDEO_CONTROLLER.ResourceID = SMS_R_System.ResourceId where SMS_G_System_COMPUTER_SYSTEM.Model
like "HP EliteBook Revolve 810 G2" and SMS_G_System_VIDEO_CONTROLLER.Description like "%intel%"
Is there a script that will give the version for NICs?
Thanks Bill

This article provides one way to do it:
http://blogs.technet.com/b/configmgr_geek_speak/archive/2013/11/10/inventorying-and-reporting-network-adapter-driver-details-and-how-to-report-only-the-wireless-type-in-configuration-manager-2012.aspx
Jeff

Similar Messages

  • Need to make collection Query statement by sccm 2012 sp1 for Count of Licenses by License Status

    I want to make collection Query statement by sccm 2012 sp1 for all windows activated and all non-activated windows.
    Ahmed Sherif

    Have a look at the Software Licensing Product attribute classes when creating a Query - remember to choose
    System Ressource when creating the Query. You would have to enable this class to be collected during Hardware Inventory. Go to
    Client Settings -> Hardware Inventory ->
    Set Classes -> Select Software Licensing Product.
    This Class is part of the Asset Intelligence classes so you could enable it from there as well.
    Another way to accomplish is to use Compliance Settings to get this information.
    Create a Configuration item that query the Win32_WindowsProductActivation WMI Class, if you are using XP and the
    SoftwareLicensingProduct class for later os´s
    Add this Configuration Item to a Baseline ad deploy it to your Collections as needed.
    When the Baseline has been evaluated you can use this information to create query
    Machines reported as compliant is actived and machines reported as Non-Compliant is not activated.
    You can read about the Win32_WindowsProductActivation WMI Class here:
    http://msdn.microsoft.com/en-us/library/aa394520(v=vs.85).aspx
    and the SoftwareLicensingProduct here:
    http://msdn.microsoft.com/en-us/library/cc534596(v=vs.85).aspx

  • SCCM 2012 Report for Software registered in Add/Remove programs

    Hi
    Am looking to create an SCCM 2012 Report for Software registered in Add/Remove programs on windows 7 machines but dont have enough experience with report builder to do this.
    Was hoping someone could help.

    When i use the url i still only see the following categories
    Administrative Security
    Asset Intelligence
    Client Push
    Client Status
    Compliance and Settings ManagementHave looked through them all and that one is not there
    the only software ones are the following
    Report Software 01A - Summary of installed software in a specific collectionThis report provides a summary of installed software ordered by the number of instances found from inventory.
     Open Menu
    Report Software 02A - Product families for a specific collectionThis report lists the product families and the count of software in the family for a specific collection.
     Open Menu
    Report Software 02B - Product categories for a specific product familyThis report lists the product categories in a specific product family and the count of software within the category. This report is linked to Software 02C - Software in a specific product
    family and category.
     Open Menu
    Report Software 02C - Software in a specific product family and categoryThis report lists all software that is in the specified product family and category. This report is linked to Software 06B - Software by product name.
     Open Menu
    Report Software 02D - Computers with specific software installedThis report lists all computers with specific software installed. This report is linked to Software 02E - Installed software on a specific computer .
     Open Menu
    Report Software 02E - Installed software on a specific computerThis report lists all software installed on a specific computer.
     Open Menu
    Report Software 03A - Uncategorized softwareThis report lists the software that is either categorized as unknown or has no categorization.
     Open Menu
    Report Software 04A - Software configured to automatically run on computersDisplays a list of software configured to automatically run on computers.
     Open Menu
    Report Software 04B - Computers with specific software configured to automatically runDisplays all computers with specific software configured to automatically run.
     Open Menu
    Report Software 04C - Software configured to automatically run on a specific computerDisplays installed software configured to automatically run on a specific computer.
     Open Menu
    Report Software 05A - Browser Helper ObjectsThis report displays the Browser Helper Objects installed on computers in a specific collection.
     Open Menu
    Report Software 05B - Computers with a specific Browser Helper ObjectDisplays all of the computers with a specific Browser Helper Object.
     Open Menu
    Report Software 05C - Browser Helper Objects on a specific computerDisplays all Browser Helper Objects on the specific computer.
     Open Menu
    Report Software 06A - Search for installed softwareThis report provides a summary of installed software ordered by the number of instances based on search criteria for the product name, publisher, or version.
     Open Menu
    Report Software 06B - Software by product nameThis report provides a summary of installed software ordered by the number of instances based on selected Product Name.
     Open Menu
    Report Software 07A - Recently used executable programs by the count of computersThis report displays executable programs that have been used recently with a count of computers on which they have been used. The Software Metering client must be enabled for this
    site to view this report.
     Open Menu
    Report Software 07B - Computers that recently used a specified executable programThis report displays the computers on which a specified executable program has recently been used when you enable the software metering client setting.
     Open Menu
    Report Software 07C - Recently used executable programs on a specified computerThis report displays executables that have been used recently on a specified computer when you enable the software metering client setting.
     Open Menu
    Report Software 08A - Recently used executable programs by the count of usersThis report displays executable programs that have been used recently with a count of users that have most recently used them when you enable the software metering client setting.
     Open Menu
    Report Software 08B - Users that recently used a specified executable programThis report displays the users that have most recently used a specified executable program when you enable the software metering client setting.
     Open Menu
    Report Software 08C - Recently used executable programs by a specified userThis report displays executable programs that have been used recently by a specified user when you enable the software metering client setting.
     Open Menu
    Report Software 09A - Infrequently used softwareThis report displays software titles that have not been used during a specified period of time. You can specify a value that will represent the number of days that have elapsed since the last use (e.g. if you
    enter 90 days, you will see software that was not used in the past 90 days or more). You can also leave the Days not used field empty to see all software titles that were never used.
     Open Menu
    Report Software 09B - Computers with infrequently used software installedThis report displays computers which have software installed that has not been used for a specified period of time. The specified period of time is based on the value specified in the
    'Software 09A - Infrequently used software' report.
     Open Menu
    Report Software 10A - Software titles with specific multiple custom labels definedThis report allows you to view software titles based on matching of all selected custom label criteria. Up to three custom labels can be selected to refine a software title search.
     Open Menu
    Report Software 10B - Computers with a specific custom-labeled software title installedThis report shows all computers in this collection, that have the specified custom-labeled software title installed.
     Open Menu
    Report Software 11A - Software titles with a specific custom label definedThis report allows you to view software titles based on matching of at least one of the selected custom label criteria.
     Open Menu
    Report Software 12A - Software titles without a custom labelThis report displays all software titles that do not have a custom label defined.
     Open Menu
    Report Software 14A - Search for software identification tag enabled softwareThis report provides the count of installed software with a software identification tag enabled.
     Open Menu
    Report Software 14B - Computers with specific software identification tag enabled software installedThis report lists all computers that have installed software with a specific software identification tag enabled.
     Open Menu
    Report Software 14C - Installed software identification tag enabled software on a specific computerThis report lists all installed software with a specific software identification tag enabled on a specific computer.
     Open Menu

  • SCCM 2012 report for all versions on MS lync installed

    Hello,
    I have installed Microsoft Lync 2010 and Lync 2013 on computers in my company and I have different versions
    like 32 and 64 bits, 365 etc I want to make query in SCCM 2012 to tell me the total number of Microsoft Lync clients Installed on win 8 machines in my company, is there a best way to do this I need your advice..
    I have tried various built in reports and not been successful so far.
    Thanks in Advance

    There's a thread already explaining this :
    http://social.technet.microsoft.com/Forums/en-US/f16f1ee8-206c-42a1-af0e-0363c51b840c/how-to-know-total-of-microsoft-lync-installed-on-computers-in-sccm-2012?forum=configmanagergeneral
    Benoit Lecours | Blog: System Center Dudes

  • Create a system properties Query in SCCM 2012 r2

    Hi,
    I am trying to create a query to find the "Computer description" field information for devices, but i am not sure of what criteria if any to select. 
    I was able to successfully create a query statement that finds the description information for a device, but that pulls only the AD object field information and not the local device information as described above.

    Is this the one?
    select SMS_R_System.ResourceId, SMS_R_System.ResourceType, SMS_R_System.Name, SMS_R_System.SMSUniqueIdentifier, SMS_R_System.ResourceDomainORWorkgroup, SMS_R_System.Client from SMS_R_System inner join SMS_G_System_OPERATING_SYSTEM on SMS_G_System_OPERATING_SYSTEM.ResourceID = SMS_R_System.ResourceId where SMS_G_System_OPERATING_SYSTEM.Description != 'Staff Device'

  • Create sysprepped VHD with SCCM 2012 R2

    Hi,
    I am very new to SCCM in general so please bare with me.
    I manage a SCVMM 2012 sp1 environment and I would like to use SCCM 2012 r2 to manage, update and publish new VHD's. However I am having trouble creating a sysprep'd VHD. The task sequence seems to complete without issue up to the shutdown command which is
    the last step in the sequence. I have pasted what I believe the issue is below. Any assistance would be great.
    Expand a string: WinPEandFullOS TSManager 10/11/2013 2:41:23 PM 848 (0x0350)
    Executing command line: smsswd.exe /run: shutdown -s -t 300 TSManager 10/11/2013 2:41:23 PM 848 (0x0350)
    [ smsswd.exe ] InstallSoftware 10/11/2013 2:41:23 PM 1036 (0x040C)
    PackageID = '' InstallSoftware 10/11/2013 2:41:23 PM 1036 (0x040C)
    BaseVar = '', ContinueOnError='' InstallSoftware 10/11/2013 2:41:23 PM 1036 (0x040C)
    ProgramName = 'shutdown -s -t 300' InstallSoftware 10/11/2013 2:41:23 PM 1036 (0x040C)
    SwdAction = '0001' InstallSoftware 10/11/2013 2:41:23 PM 1036 (0x040C)
    Set command line: Run command line InstallSoftware 10/11/2013 2:41:23 PM 1036 (0x040C)
    Working dir 'not set' InstallSoftware 10/11/2013 2:41:23 PM 1036 (0x040C)
    Executing command line: Run command line InstallSoftware 10/11/2013 2:41:23 PM 1036 (0x040C)
    CreateProcess( NULL, (LPWSTR)m_sCommandLine.c_str(), NULL, NULL, TRUE, bNT ? CREATE_UNICODE_ENVIRONMENT : 0, m_pEnvironmentBlock, pszWorkingDir, &si, &pi ), HRESULT=80070002 (e:\nts_sccm_release\sms\framework\core\ccmcore\commandline.cpp,1018) InstallSoftware 10/11/2013
    2:41:23 PM 1036 (0x040C)
    CreateProcess failed. Code(0x80070002) InstallSoftware 10/11/2013 2:41:23 PM 1036 (0x040C)
    Command line execution failed (80070002) InstallSoftware 10/11/2013 2:41:23 PM 1036 (0x040C)
    clCommandLine.Execute( uOptions, pszWorkingDir, lpDesktop ), HRESULT=80070002 (e:\nts_sccm_release\sms\client\osdeployment\installsoftware\runcommandline.cpp,562) InstallSoftware 10/11/2013 2:41:23 PM 1036 (0x040C)
    Failed to execute command line 'shutdown -s -t 300' .
    The system cannot find the file specified. (Error: 80070002; Source: Windows) InstallSoftware 10/11/2013 2:41:23 PM 1036 (0x040C)
    cmd.Execute(pszPkgID, sProgramName, dwCmdLineExitCode), HRESULT=80070002 (e:\nts_sccm_release\sms\client\osdeployment\installsoftware\main.cpp,372) InstallSoftware 10/11/2013 2:41:23 PM 1036 (0x040C)
    Install Software failed to run command line, hr=0x80070002 InstallSoftware 10/11/2013 2:41:23 PM 1036 (0x040C)
    Process completed with exit code 2147942402 TSManager 10/11/2013 2:41:23 PM 848 (0x0350)
    !--------------------------------------------------------------------------------------------! TSManager 10/11/2013 2:41:23 PM 848 (0x0350)
    Failed to run the action: Shutdown computer.
    The system cannot find the file specified. (Error: 80070002; Source: Windows) TSManager 10/11/2013 2:41:23 PM 848 (0x0350)
    Do not send status message in full media case TSManager 10/11/2013 2:41:23 PM 848 (0x0350)
    Set a global environment variable _SMSTSLastActionRetCode=-2147024894 TSManager 10/11/2013 2:41:23 PM 848 (0x0350)
    Set a global environment variable _SMSTSLastActionSucceeded=false TSManager 10/11/2013 2:41:23 PM 848 (0x0350)
    Clear local default environment TSManager 10/11/2013 2:41:23 PM 848 (0x0350)
    Let the parent group (Setup Operating System) decides whether to continue execution TSManager 10/11/2013 2:41:23 PM 848 (0x0350)
    The execution of the group (Setup Operating System) has failed and the execution has been aborted. An action failed.
    Operation aborted (Error: 80004004; Source: Windows) TSManager 10/11/2013 2:41:23 PM 848 (0x0350)
    Failed to run the last action: Shutdown computer. Execution of task sequence failed.
    The system cannot find the file specified. (Error: 80070002; Source: Windows) TSManager 10/11/2013 2:41:23 PM 848 (0x0350)
    Do not send status message in full media case TSManager 10/11/2013 2:41:23 PM 848 (0x0350)
    Execution::enExecutionFail != m_eExecutionResult, HRESULT=80004005 (e:\nts_sccm_release\sms\client\tasksequence\tsmanager\tsmanager.cpp,923) TSManager 10/11/2013 2:56:26 PM 848 (0x0350)
    Task Sequence Engine failed! Code: enExecutionFail TSManager 10/11/2013 2:56:26 PM 848 (0x0350)
    **************************************************************************** TSManager 10/11/2013 2:56:26 PM 848 (0x0350)
    Task sequence execution failed with error code 80004005 TSManager 10/11/2013 2:56:26 PM 848 (0x0350)
    Cleaning Up. TSManager 10/11/2013 2:56:26 PM 848 (0x0350)
    Removing Authenticator TSManager 10/11/2013 2:56:26 PM 848 (0x0350)
    shKey.DeleteValue( c_szRegValue_SecurityToken ), HRESULT=80070002 (e:\nts_sccm_release\sms\framework\ccmutillib\ccmutillib.cpp,1660) TSManager 10/11/2013 2:56:26 PM 848 (0x0350)
    Clean up boot image stage path C:\_SMSTaskSequence\WinPE TSManager 10/11/2013 2:56:26 PM 848 (0x0350)
    Cleaning up task sequence folder TSManager 10/11/2013 2:56:26 PM 848 (0x0350)
    Deleting volume ID file C:\_SMSTSVolumeID.7159644d-f741-45d5-ab29-0ad8aa4771ca ... TSManager 10/11/2013 2:56:26 PM 848 (0x0350)
    DeleteFileW(sVolumeIDFile.c_str()), HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\resolvesource.cpp,508) TSManager 10/11/2013 2:56:26 PM 848 (0x0350)
    Successfully unregistered Task Sequencing Environment COM Interface. TSManager 10/11/2013 2:56:26 PM 848 (0x0350)
    Command line for extension .exe is "%1" %* TSManager 10/11/2013 2:56:26 PM 848 (0x0350)
    Set command line: "X:\sms\bin\x64\TsProgressUI.exe" /Unregister TSManager 10/11/2013 2:56:26 PM 848 (0x0350)
    Executing command line: "X:\sms\bin\x64\TsProgressUI.exe" /Unregister TSManager 10/11/2013 2:56:26 PM 848 (0x0350)
    ==========[ TsProgressUI started in process 1232 ]========== TsProgressUI 10/11/2013 2:56:26 PM 1236 (0x04D4)
    Command line: "X:\sms\bin\x64\TsProgressUI.exe" /Unregister TsProgressUI 10/11/2013 2:56:26 PM 1236 (0x04D4)
    Unregistering COM classes TsProgressUI 10/11/2013 2:56:26 PM 1236 (0x04D4)
    Unregistering class objects TsProgressUI 10/11/2013 2:56:26 PM 1236 (0x04D4)
    Shutdown complete. TsProgressUI 10/11/2013 2:56:26 PM 1236 (0x04D4)
    Process completed with exit code 0 TSManager 10/11/2013 2:56:26 PM 848 (0x0350)
    Successfully unregistered TS Progress UI. TSManager 10/11/2013 2:56:26 PM 848 (0x0350)
    g_TSManager.Run(), HRESULT=80004005 (e:\nts_sccm_release\sms\client\tasksequence\tsmanager\tsmanager.cpp,766) TSManager 10/11/2013 2:56:26 PM 848 (0x0350)
    ::RegQueryValueExW(hSubKey, szReg, NULL, NULL, NULL, &dwSize), HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\utils.cpp,811) TSManager 10/11/2013 2:56:26 PM 848 (0x0350)
    RegQueryValueExW is unsuccessful for Software\Microsoft\SMS\Task Sequence, SMSTSEndProgram TSManager 10/11/2013 2:56:26 PM 848 (0x0350)
    GetTsRegValue() is unsuccessful. 0x80070002. TSManager 10/11/2013 2:56:26 PM 848 (0x0350)
    End program:  TSManager 10/11/2013 2:56:26 PM 848 (0x0350)
    Error Task Sequence Manager failed to execute task sequence. Code 0x80004005 TSManager 10/11/2013 2:56:26 PM 848 (0x0350)
    Sending error status message TSManager 10/11/2013 2:56:26 PM 848 (0x0350)
    Do not send status message in full media case TSManager 10/11/2013 2:56:26 PM 848 (0x0350)
    Finalize logging request ignored from process 872 TSManager 10/11/2013 2:56:26 PM 848 (0x0350)
    Process completed with exit code 2147500037 TSMBootstrap 10/11/2013 2:56:26 PM 988 (0x03DC)
    Exiting with return code 0x80004005 TSMBootstrap 10/11/2013 2:56:26 PM 988 (0x03DC)
    Execution complete. TSBootShell 10/11/2013 2:56:26 PM 676 (0x02A4)
    hMap != 0, HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\environmentscope.cpp,493) TSBootShell 10/11/2013 2:56:26 PM 676 (0x02A4)
    m_pGlobalScope->open(), HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\environmentlib.cpp,335) TSBootShell 10/11/2013 2:56:26 PM 676 (0x02A4)
    this->open(), HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\environmentlib.cpp,553) TSBootShell 10/11/2013 2:56:26 PM 676 (0x02A4)
    ::RegQueryValueExW(hSubKey, szReg, NULL, NULL, NULL, &dwSize), HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\utils.cpp,811) TSBootShell 10/11/2013 2:56:26 PM 676 (0x02A4)
    RegQueryValueExW is unsuccessful for Software\Microsoft\SMS\Task Sequence, SMSTSEndProgram TSBootShell 10/11/2013 2:56:26 PM 676 (0x02A4)
    GetTsRegValue() is unsuccessful. 0x80070002. TSBootShell 10/11/2013 2:56:26 PM 676 (0x02A4)
    End program:  TSBootShell 10/11/2013 2:56:26 PM 676 (0x02A4)
    Finalizing logging from process 668 TSBootShell 10/11/2013 2:56:26 PM 676 (0x02A4)
    Finalizing logs to root of first available drive TSBootShell 10/11/2013 2:56:26 PM 676 (0x02A4)
    Successfully finalized logs to C:\SMSTSLog TSBootShell 10/11/2013 2:56:26 PM 676 (0x02A4)
    Cleaning up task sequencing logging configuration. TSBootShell 10/11/2013 2:56:26 PM 676 (0x02A4)

    The "shutdown -s -t 300" step (Created as default as part of an"Install
    an existing image package to a virtual hard disk" Task Sequence) will fail if it is executed directly after the "Prepare ConfigMgr Client for Capture" step. This is because
    the "Prepare ConfigMgr Client for Capture" step runs Sysprep, then reboots the computer into the Windows PE boot image associated with the task sequence. “Shutdown.exe”
    is not available in Windows PE environment (hence it is failing).
    I have been able to work around this by setting the “SMSTSPostAction”
    variable (use to execute a post task sequence task) to "Wpeutil shutdown" which initiates a system shutdown via Wpeutil after the Task Sequence is complete.
    It is important that the Task Sequence completes successfully as part of the VHD creation process to ensure a clean sysprep image is create otherwise this can
    cause errors when importing in to SCVMM. This is because SCVMM also uses the Task Sequence engine.  
    Hope that helps.

  • Create vertual package in SCCM 2012

    I Need to create a virtual (App-v package) that I sequenced in sccm 2012. I remember in sccm 2007 there was an option (Create virtual package) I don't see that here whats the procedure for creating virtual package\application in sccm 2012
    Thanks

    I re-sequenced it Notepad++ and this time and this time I chose continue Configuring and launched Application and was able to add file association through the App, so when App was repushed file association was there for .vbs, .txt. etc...
    I have been looking at some blogs and I fond that the sequencer has a Tab Shortcuts and FTA's I don't see that Tab on my sequencer and I'm running 5.0 sp1 any thoughts on that?
    maybe ask in the dedicated App-V forum?
    https://social.technet.microsoft.com/Forums/en-US/home?forum=mdopappv
    Don
    (Please take a moment to "Vote as Helpful" and/or "Mark as Answer", where applicable.
    This helps the community, keeps the forums tidy, and recognises useful contributions. Thanks!)

  • Create Global Condition using SCCM 2012 SDK programmaticaly

    Could someone please help me in creating some simple Global Condition in SCCM 2012 with SDK.
    First, I thougth that it will be pretty easy just creating a SMS_GlobalCondition WMI objet instance, but then I found that there is no any information about rules in that object and it seems to be impossible to create just SMS_GlobalCondition instance. So
    there should be some another object containing information about rule or expression assigned to global condition.
    For now, I found that it seems to be possible to use DcmObjectWrapper, may be someone can give me a piece of advice on how that exactly can be done.
    Appreciate any help.

    Juke,
    Thanks for your reply.
    Actually for now I'm trying to do what you recommended.
    I found an
    article describing the way to retrieve all Global Conditions as a part of assigning them to an application. This part works for me, I'm just checking objects which they use and looking for properties I should specify, but I still was not able to successfully
    create Global Condition.
    Seems that I still miss some parameters.
    When I save wrapper object which is of type DcmObjectWrapper like
    ((IResultObject)wrapper).Put();
    after specifying necessary parameter I got an error:
    ConfigMgr Error Object:
    instance of SMS_ExtendedStatus
    Description = "Access denied when attempting to retreive configuration item.";
    ErrorCode = 1078266380;
    File = "e:\\nts_sccm_release\\sms\\siteserver\\sdk_provider\\smsprov\\sspconfigurationitem.cpp";
    Line = 2130;
    ObjectInfo = "";
    Operation = "PutInstance";
    ParameterInfo = "";
    ProviderName = "ExtnProv";
    StatusCode = 2147749889;
    That would be great if someone could provide me with working example or give some advice on what parameters are required for that objects. Or maybe I'm using wrong way to do that in general.

  • System Uptime Query in SCCM 2012 R2

    what is the Query language statement to find the uptime of a system in SCCM 2012 R2? There are so many Object types that it is hard to see if anyone of them has this option.
    Thanks

    SELECT TOP (100) PERCENT dbo.v_R_System.Name0, dbo.v_GS_OPERATING_SYSTEM.LastBootUpTime0, DATEDIFF(Day, dbo.v_GS_OPERATING_SYSTEM.LastBootUpTime0, GETDATE()) AS [Days since last boot],
    dbo.v_GS_OPERATING_SYSTEM.Caption0
    FROM dbo.v_GS_OPERATING_SYSTEM INNER JOIN
    dbo.v_R_System ON dbo.v_GS_OPERATING_SYSTEM.ResourceID = dbo.v_R_System.ResourceID
    WHERE (DATEDIFF(Day, dbo.v_GS_OPERATING_SYSTEM.LastBootUpTime0, GETDATE()) > 7) AND (dbo.v_GS_OPERATING_SYSTEM.Caption0 LIKE '%server%')
    ORDER BY [Days since last boot] DESC
    This is something I built before.
    It shows you server systems that have been online for more than 7 days.
    You can modify it to your needs.

  • SCCM 2012 license for managing Servers

    Hi,
    We want to manage windows servers with SCCM 2012. Can someone explain what are the licensing options available and how much it cost per server. 
    Regards,
    Madhan

    This came up on this forum recently. Here you go
    http://social.technet.microsoft.com/Forums/en-US/db10f78f-3c44-40fd-92a8-1264ee06dccb/configmgr-2012-licensing?forum=configmanagergeneral
    Gerry Hampson | Blog:
    www.gerryhampsoncm.blogspot.ie | LinkedIn:
    Gerry Hampson | Twitter:
    @gerryhampson

  • Query about SCCM 2012 R2 Client Installation

    Hello I had one SCCM 2012 RTM environment with 1000+ clients,
    Now on the same machine I have uninstalled everything and installed fresh SCCM 2012 R2 software with same site Code etc..
    Kindly suggest me an easy way to upgrade all my SCCM clients to 2012 R2? and How do i verify the same?

    Hi,
     Currently, the clients cannot accept the policies from SCCM 2012 R2 MP, so Push installation, GP installation and manual installation should work. After upgrade, the GUID of clients will remain.
    Juke Chou
    TechNet Community Support

  • SCCM 2012 OSD; Not finding driver package during deployment

    I've been having some trouble setting up my OSD deployment using SCCM 2012 and hope someone can point me in the right direction.  Specifically I am having trouble with device driver deployment while deploying my reference image. 
    I am running SCCM Config Manager 2012 SP1 CU2. This is running on a Server 2012 VM with SQL 2012.  I am building an OSD deployment and have successfully captured my reference image.  I am not sure if it matters, but I manually built a reference
    PC and using capture media (USB stick), I successfully captured my reference image.  I have imported my drivers for the target PC into Config Manager and into a driver package.  The driver package has been deployed to the distribution point
    (DP).  I checked the status of the driver package within the console and verified it has been deployed to the DP.   I created a new task sequence (TS) to deploy the captured wim.  Within the TS, I added an "Apply
    Driver Package" step and pointed it to the aforementioned driver package.  I added a WMI query to the step as follows
    select * from Win32_ComputerSystem where Model like "HP Probook 6570b%." 
    Incidentally, I did a wmi query on the target PC to verify the model.  I deployed the TS to the unknown computers collection and PXE booted the target PC.  I ran through the OSD wizard and while OSD is verifying the deployment prerequisites,
    the deployment fails with the error, "The task sequence cannot be run because a package referenced by the task sequence could not be found."  I checked the smsts.log log and found the following:
    Failed to find CCM_SoftwareDistribution object for AdvertID="CT120043", PackageID="CT100044", ProgramID="*"
    After some research I found this error means Config Manager cannot find the driver package (PackageID="CT100044")
    for deployment.  After more research I have done the following:
    Deleted the Driver Package and recreated it and updated the TS step to point to this package.
    Deleted and recreated the TS along with the driver package.
    Recreated the driver package and distributed content, only importing the NIC drivers as a way to make a simple test.
    When distributing content I verified it was successfully completed each time as per the console.
    Each time I recreated the driver package and the OSD failed, smsts.log is showing the appropriate package ID in the error.  If I disable the Apply Driver Package step and configure a Apply Device Drivers step to install the best matched compatible drivers
    and limit the driver matching to the specific driver package, the OSD completes but the drivers do not install. It is as if Config Manager is not seeing the imported drivers at all.
    I have run out of options to try and hope someone can help point me in the next direction to take.  After reading numerous forums and guides, I am sure I am doing the OSD steps correctly but I am apparently missing something.
    Thanks in advance,
    Mike G.

    Thanks for responding.
    Yes after I posted the question I right-clicked on the driver package, and selected to update distribution points.  I checked now (about 12 hours later) and the package is showing it has not finished updating.  I checked the content status and
    it is "waiting for content."  I looked at distmgr.log and I found an error "Failed to start DP health monitoring task for package 'CT100044'. Error code: -1".  This error would occur every 30 min after each time the DP retried to process
    the package. After some research I found a post stating a file called "Microsoft" or "Program" on located on the root of the site server could cause this and renaming or deleting the file would resolve this. I renamed the file and after the next time
    it retried, the error cleared, however the package status is still waiting for content.  I tried doing a validation on the package but so far there has been no change.

  • SCCM 2012 R2 - List of IE versions report

    Hi all,
    I am trying to create a SCCM 2012 R2 report that tells me what versions of IE are on the machines. Its not so much an issue for installed versions but I also want to know the versions of IE that are part of the operating system. Any advice would be greatly
    appreciated. 
    Thanks

    If all you are trying to do is determine what version of IE comes with each OS then I'm sure that there is a wiki page for that.  If you are trying to get the details what version of IE is currently installed then Torsten suggest will work.
    http://www.enhansoft.com/

  • Create Report based on Query in SCCM 2012

    I have a lot of useful queries, however I would like to create a few reports based on these queries. What is the simple way to do this? I started to create a New Report, but kind of lost after that. Is there a way I can just copy my statement from the
    query to a blank report?

    Execute the WQL query from the queries node in the console and watch smsprov.log on the site server. It should contain the "translated" SQL statement.
    Torsten Meringer | http://www.mssccmfaq.de

  • WMI Query to SCCM 2012 results zero results in c#

    In 2007 this works without issues, however in 2012 when attempting the 2nd query it returns zero results.  However if I do this manually I can produce results...Here is my code:
    using (WqlConnectionManager connection = Connect(getServer))
       string query = "select * from SMS_ObjectContainerItem WHERE ContainerNodeID='" + ProfileID + "'";              
       foreach (IResultObject getobject in connection.QueryProcessor.ExecuteQuery(query))
         getPackageID = getobject["InstanceKey"].StringValue;
         query = "select * from SMS_Collection WHERE CollectionID='" + getPackageID + "'";
    **This is where it will return zero results**
         foreach (IResultObject searchID in connection.QueryProcessor.ExecuteQuery(query))
            CMProfiles profile = new CMProfiles();
            profile.Name = searchID["Name"].StringValue;
            profile.ID = getPackageID;
            results.Add(profile);
    I'm pulling my hairs trying to understand by the 2nd query is not returning any results. When this works fine in SCCM 2007

    What you are using here are the SDK libraries, which are admittedly very thin wrappers around WMI, but not quite.  Have you tried implementing this directly using WMI?  I have written software that manipulates 2007 / 2012 and eventually found that
    the SDK libraries just sort of got in my way, so now I do all of my interactions with SCCM directly with WMI and forgoe the SDK libraries.
    Before I changed over, I did find that there are some oddities in using the SDK.  What I eventually found that worked for me was to bind to the 2007 SDK libraries, deliver them with my application and use the 2007 libraries regardless of if I was connecting
    to 2007 or 2012.  What I found was that I would run into issues using the 2012 libraries to talk to 2007, but the 2007 libraries would work fine with both.
    I have tested your queries, directly using WMI and PowerShell on a 2012 server and they work fine.  I am presuming that the folder that you are attempting to access is a Device Collection folder.
    Once again, I would suggest using WMI directly, especially if making a product that will work with 2007 and 2012; you will be a much happier person.
    It would be greatly appreciated if you would mark any helpful entries as helpful and if the entry answers your question, please mark it with the Answer link.

Maybe you are looking for

  • Songs won't sync with iPod Video

    I have a new iPod Video 60GB. I just downloaded Tom Petty's Greatest Hits. The songs appear in iTunes under "Purchased" and in my iTunes library. But they will not copy to my iPod. I installed the iPod Updater 2006-06-28. I have the latest version of

  • How to read from a MS Word Document

    Hi, I need some help in reading the content from the MS Word 2000 document, through Java code. I have used Java streams and tried to fetch the data into a stream and parse it for my customized need. I am getting some code characters in the beginning

  • 0DOC_NUMBER Error

    Hello, I am trying to install and activate the InfoObject 0DOC_NUMBER (Sales Order Number) in one of the dimensions of an InfoCube, however, it's neither found installed nor available to be installed in BI Content as well. What's causing this and how

  • Some messages not deleted from server after downloading

    We have about 1,000 mail users, all of whom use Apple's Mail app to retrieve their mail using POP. We've seen users' mailboxes on the server where not all messages have been deleted after downloading, even though the user's app has been configured to

  • LM18 screen enhancements

    I want to add a customer field as a label on screen 2700 of program SAPLLMOB. The purpose is to display client name (KNA1-NAME1). How can i enhance this screen and add a customer label?