Questions tagged [cim]
62 questions
0
votes
1 answer
Getting SCCM task sequence status on a client machine
I'm creating a Windows VM in azure and want to execute a Powershell script to perform the following tasks:
install SCCM client
reboot, and SCCM task sequence will start in a few minutes.
wait for the task sequence completes
extra task 1
extra task…

Digger
- 55
- 6
0
votes
1 answer
CimInstance Associators return an invalid path error
I would like to retrieve a spefic network adapter configuration.
When I do it with its DeviceID, it works well
Get-CimInstance -Query `
"Associators of {Win32_NetworkAdapter.DeviceID=3} Where…

CFou
- 978
- 3
- 13
0
votes
0 answers
Wmi Query having column data type as CIM_SINT8,CIM_SINT64
I see various CIM types defined here which are basically data type of WMI class data member. The instance of class gets retuned when WQL query is made from Wbemtest utility.
I am looking for WMI system class which has data member of type…

Mano
- 49
- 6
0
votes
1 answer
Magento 1.9 Autherize.net CIM charges twice
We have an issue with customers getting double charged.
Today we noticed that another batch of orders was charged twice in Authorize. We don't see any sign of a second charge in the notes on Magento but the customer did receive a shipment…

Radhu
- 87
- 1
- 9
0
votes
1 answer
Are CIM/XML and RDF/XML completely different?
I am studying RDF and CIM.
I am studying RDF after reading IEC 61970 501 and 552, but I am not sure what exactly is the difference between these.
From what I have understood so far, is it right to define namespace well to become CIM XML?

user20297975
- 129
- 8
0
votes
0 answers
I cannot connect to a remote PC with WinXP OS with CimSession. I get Error "Microsoft.Management.Infrastructure.CimException:..."
In my application I have to connect to remote PC's mostly with WinXP OS (Older production machines) from my office server. I am starting a CIMSession in order to read the CPU Load of the remote PC. If I use following code I get…

Mdarende
- 469
- 3
- 13
0
votes
0 answers
How can I read the CPU Load of a remote PC with CIM session instead of WMI? I have to use the admin credentials of the remote PC
I am using the following code for reading CPU Load on remote PC with Win XP. I have to use the credentials on the remote PC. It is working fine. But how can I use CIM session instead of WMI?
public void Read_CPU_Load_WMI()
{
…

Mdarende
- 469
- 3
- 13
0
votes
0 answers
Windows CIM/WMI Updating an Entire Instance c#
Im looking some help with code below. It does not work at all and i did try everything i could, but im simply not able to set "StartMode" value to win service. Reading from cim is working just fine but set is other story and it wont change any…

MIke Drtikol
- 3
- 1
- 2
0
votes
1 answer
How to define a ns uri modeltype for an own RDF Schema metamodel in qvto?
I've built an RDF schema Metamodel and want to define a modeltype for my RDF Schema.
I've these files : a metamodel uml (KB3Import.uml) and an other one in rdf schema (MyFirstProfile_CIMSdF_v6.rdf)
So I'd to do something like this on qvto…

Rolfdu88
- 1
- 1
0
votes
1 answer
Exception calling "GetOwner"
team!
Recently, my remote pssession scripts has failed under getting owner of processes.
#Some code up and down the fragmet
#Use WMI or CIM cmdlets.
$UseCIM = !( Test-GetWMIObjectPresent ) #local function to choose CIM or WMI…

Alexey I. Kuzhel
- 126
- 10
0
votes
1 answer
Powershell CIM Instance MDM_AssignedAccess
I'm having an issue configuring Windows 10 Kiosk mode recently. I am using the MDM bridge via powershell as directed here:…

enowai
- 1
0
votes
0 answers
Setting new CIM instance values
I am trying to lock the local admin account on a remote computer that i'm connected to using a CIM session:
$CIMSession = New-CimSession -ComputerName ComputerOne -ErrorAction Stop
$adminCheck = Get-CimInstance -Query "SELECT * FROM…

Abraham Zinala
- 4,267
- 3
- 9
- 24
0
votes
1 answer
Authorize.net : createcustomerprofilerequest : E00116 OTS Token access violation
I am able to successfully manage customer profiles using the Accept.js and the API in the DEV / Sandbox environment, however when I moved the code to PROD, it failed with the error: E00116 OTS Token access violation.
Searching, I see that error…

moals
- 1
0
votes
1 answer
Querying CIM XML in C# with LINQ
I am looking for a way to query CIM XML files with LINQ, in order to speed up my analysis of data and verify the exports from a database containing the elements of electrical network.
Since I am a newbie in C#, I guessed that it will be easy to load…

Davor Cacic
- 35
- 7
0
votes
2 answers
Error when triggering installation of SCCM updates with Invoke-CimMethod
I am trying to trigger the installation of updates advertized by SCCM to some particular computers by invoking a CIM method from Powershell 7.
Regardless of the fact that the command triggers the desired action, I still always get an error…

Olaf
- 4,690
- 2
- 15
- 23