.. / Set-CimInstance

Modifies a CIM instance on a CIM server by calling the ModifyInstance method of the CIM class


Functions:
Type:
Toolsets:

Manage

Update attribute of CIM instance

Set-CimInstance -Query 'Select * from Win32_Environment where name LIKE "testvar%"' -Property @{VariableValue="abcd"}
Usecase
Update path variable

Comments
Mitre Att&ck
T1047




Updated: 2023-07-01
Contributor: Arris Huijgen (bitsadmin)