Contact Info

Crumbtrail

ActiveXperts.com » Administration » Powershell » Powershell 4.0 » Remove-CimInstance

Remove-CimInstance - Powershell 4.0 CmdLet

ActiveXperts Network Monitor ships with integrated Powershell scripts to monitor complex network. The scripts run out of the box
Download the ActiveXperts Network Monitor FREE version now »

Remove-CimInstance

Short description
Removes a CIM instance from a computer.

Syntax


Description
The Remove-CimInstance cmdlet removes a CIM instance from a CIM server.


You can specify the CIM instance to remove by using either a CIM instance object retrieved by the Get-CimInstance 
cmdlet, or by specifying a query.


If the InputObject parameter is not specified, the cmdlet works in one of the following ways: 

--If neither the ComputerName parameter nor the CimSession parameter is specified, then this cmdlet works on local 
Windows Management Instrumentation (WMI) using a Component Object Model (COM) session. 
--If either the ComputerName parameter or the CimSession parameter is specified, then this cmdlet works against the 
CIM server specified by either the ComputerName parameter or the CimSession parameter.