.. / New-CimSession

Creates a CIM session


Functions:
Type:
Toolsets:

Manage

Creates a CIM session over WinRM

$s = New-CimSession -ComputerName W10.ad.bitsadmin.com
Usecase
Connect to remote machine to perform activities using the various WMI classes

Comments
There are various other options for the -Authentication parameter that can be used

Mitre Att&ck

Creates a CIM session over RPC

$so = New-CimSessionOption -Protocol Dcom -Authentication Kerberos
$s = New-CimSession -ComputerName W10.ad.bitsadmin.com -SessionOption $so
Usecase
Connect to remote machine to perform activities using the various WMI classes

Comments
There are various other options for the -Authentication parameter that can be used

Mitre Att&ck
T1047




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