Getting issue while deploying an Application to the clients and SCCM itself. Facing issue while getting data in this command: Get-WMIObject -ComputerName $Site_Server -Namespace root\sms\site_$Site_Code -class SMS_SUMDeploymentAssetDetails

Khushal Anand 0 Reputation points
2024-09-03T07:20:10.62+00:00

Getting issue while deploying an Application to the clients and SCCM itself. Facing issue while getting data in this command: Get-WMIObject -ComputerName $Site_Server -Namespace root\sms\site_$Site_Code -class SMS_SUMDeploymentAssetDetails

Microsoft Configuration Manager Application
Microsoft Configuration Manager Application
Microsoft Configuration Manager: An integrated solution for for managing large groups of personal computers and servers.Application: A computer program designed to carry out a specific task other than one relating to the operation of the computer itself, typically to be used by end users.
486 questions
Microsoft Configuration Manager
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. XinGuo-MSFT 17,931 Reputation points
    2024-09-04T02:01:36.34+00:00

    Hi,

    It sounds like you’re encountering issues with the Get-WMIObject command in SCCM. Here are a few steps you can take to troubleshoot:

    Check Permissions: Ensure that the account running the command has the necessary permissions to access WMI on the remote server.

    Verify Namespace and Class: Double-check that the namespace root\sms\site_$Site_Code and the class SMS_SUMDeploymentAssetDetails are correct and exist on the target server.

    Network Connectivity: Make sure there are no network issues between your machine and the SCCM server. You can use Test-Connection to verify connectivity.

    WMI Service: Ensure that the WMI service is running on the SCCM server. You can restart the service if necessary.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.