Set Remote Computer To DHCP Enabled Without Using WinRM
WMI works well:
$networkAdapterConfig = Get-WmiObject -Class Win32_NetworkAdapterConfiguration -ComputerName 'SomeComputerName'
$networkAdapterConfig.EnableDhcp()
WMI works well:
$networkAdapterConfig = Get-WmiObject -Class Win32_NetworkAdapterConfiguration -ComputerName 'SomeComputerName'
$networkAdapterConfig.EnableDhcp()