I'm trying to run
foreach($server in $servers){
Invoke-Command -computerName $servers -Scriptblock{
netsh int tcp set global netdma=enabled;
netsh int tcp set global dca=enabled
}
}
The command runs with no errors even returning OK after each line but no changes on the target machines when I locally run
netsh int tcp show global