..
/ Disable-NetAdapter
Disables a network adapter
Functions:
Network
Type:
Cmdlets
Toolsets:
Builtin
CIMSession
Network
Disable network adapter
Disable-NetAdapter -Name Ethernet0 -CimSession $s
Usecase
Put remote machine offline
Comments
Create CimSession
$s
using
New-CimSession
PowerShell Module:
NetAdapter
Mitre Att&ck
T1047
Updated: 2023-07-01
Contributor: Arris Huijgen (
bitsadmin
)